Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 887 Bytes

File metadata and controls

44 lines (35 loc) · 887 Bytes

IFC_DMIsObjEnabled

Description

Returns a flag that shows whether the provided object is enabled in the current mapping settings.

FUNCTION IFC_DMIsObjEnabled(inStrObjName : STRING): BOOLEAN;
def vs.IFC_DMIsObjEnabled(inStrObjName):
    return BOOLEAN

Parameters

Name Type Description
inStrObjName STRING Object's name.

Examples

VectorScript

PROCEDURE IsObjEnabled;
VAR
	bOk : BOOLEAN;
BEGIN
	bOk := IFC_DMIsObjEnabled('Space'); {bOk returns if the Space Object is enabled in the current mapping}
END;

RUN(IsObjEnabled);

Python

bOk = vs.IFC_DMIsObjEnabled('Space'); #bOk returns if the Space Object is enabled in the current mapping

See Also

IFC_DMEnableObject

Version

Available from: Vectorworks 2017

Category