VS:IFC CreateObjGUID

From Vectorworks Developer
Revision as of 04:48, 17 December 2018 by Sasha (Talk | contribs)

Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Create a Tag record for the specified object if it doesn't have any IFC info.
FUNCTION IFC_CreateObjGUID(
hObject  :HANDLE) : BOOLEAN;
def vs.IFC_CreateObjGUID(hObject):
    return BOOLEAN

Parameters

hObject HANDLE Handle to the object.

Example

VectorScript

PROCEDURE Test;
VAR
	hObject : HANDLE;
	ok : BOOLEAN;
BEGIN
	hObject := FSActLayer;
	ok := IFC_CreateObjGUID(hObject);
END;

RUN(Test);

Python

hObject = vs.FSActLayer()
ok = vs.IFC_CreateObjGUID(hObject)

Version

Availability: from Vectorworks 2018
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox