Difference between revisions of "VS:IFC CreateObjGUID"

From Vectorworks Developer
Jump to: navigation, search
 
Line 31: Line 31:
  
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
<return></return>
+
<return>
 +
TRUE on success, FALSE on failure.
 +
</return>
  
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------

Latest revision as of 04:49, 17 December 2018

.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.

Return Value

TRUE on success, FALSE on failure.

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