Difference between revisions of "VS:IFC SetIFCEntity"
From Vectorworks Developer
m (1 revision)
Revision as of 09:34, 12 August 2013
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionThis function creates and attaches to hObject an IFC Record with the given IFC entity.
hObject : HANDLE;
inStrIfcName : STRING) : BOOLEAN;
def vs.IFC_SetIFCEntity(hObject, inStrIfcName): return BOOLEAN
hObject HANDLE inStrIfcName STRING
Return ValueTRUE on success, FALSE indicates failure – incorrect handle or IFC entity name
RemarksNote that, if an IFC record, attached to that handle already exists, it will be deleted, prior to attaching the new one
ExampleAssume we have an object, which we want to be exported as furniture: