From Vectorworks Developer
Revision as of 03:47, 17 December 2018 by Sasha
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionRemoves a Property Set from the object's attached Ifc Record.
inStrPsetName :STRING) : BOOLEAN;
def vs.IFC_ClearPset(hObject, inStrPsetName): return BOOLEAN
hObject HANDLE Handle to the object. inStrPsetName STRING The name of the Property Set.
Return ValueTRUE on success, FALSE indicates failure.
ExampleAssume we want to clear a "PSet_WallCommon" from Object which has already attached Ifc Record with that Property Set:
PROCEDURE Test; VAR hObject : HANDLE; ok : BOOLEAN; BEGIN hObject := FSActLayer; ok := IFC_ClearPset(hObject, 'PSet_WallCommon'); END; RUN(Test);
hObject = vs.FSActLayer() ok = vs.IFC_ClearPset(hObject, 'PSet_WallCommon')