Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 939 Bytes

File metadata and controls

49 lines (40 loc) · 939 Bytes

IFC_ClearPset

Description

Removes a Property Set from the object's attached Ifc Record.

FUNCTION IFC_ClearPset(
				hObject       : HANDLE;
				inStrPsetName : STRING): BOOLEAN;
def vs.IFC_ClearPset(hObject, inStrPsetName):
    return BOOLEAN

Parameters

Name Type Description
hObject HANDLE Handle to the object.
inStrPsetName STRING The name of the Property Set.

Examples

Assume we want to clear a "PSet_WallCommon" from Object which has already attached Ifc Record with that Property Set:

VectorScript

PROCEDURE Test;
VAR
	hObject : HANDLE;
	ok : BOOLEAN;
BEGIN
	hObject := FSActLayer;
	ok := IFC_ClearPset(hObject, 'PSet_WallCommon');
END;

RUN(Test);

Python

hObject = vs.FSActLayer()
ok = vs.IFC_ClearPset(hObject, 'PSet_WallCommon')

Version

Available from: Vectorworks 2016

Category