Difference between revisions of "VS:ReplaceIFCWithMap"

From Vectorworks Developer
Jump to: navigation, search
Line 6: Line 6:
 
<desc>
 
<desc>
 
Deletes attached IFC Record from:
 
Deletes attached IFC Record from:
 +
 
case 1: Object If the HANDLE is not NULL.
 
case 1: Object If the HANDLE is not NULL.
 +
 
case 2: All Objects which corresponds to inStrObjName and HANDLE is NULL.
 
case 2: All Objects which corresponds to inStrObjName and HANDLE is NULL.
 +
 
case 3: All Objects if inStrObjName is "allObjects" and HANDLE is NULL.
 
case 3: All Objects if inStrObjName is "allObjects" and HANDLE is NULL.
 
</desc>
 
</desc>

Revision as of 11:52, 23 November 2018

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

Description

Deletes attached IFC Record from:

case 1: Object If the HANDLE is not NULL.

case 2: All Objects which corresponds to inStrObjName and HANDLE is NULL.

case 3: All Objects if inStrObjName is "allObjects" and HANDLE is NULL.

FUNCTION ReplaceIFCWithMap(
hObject  :HANDLE;
inStrObjName  :STRING) : BOOLEAN;
def vs.ReplaceIFCWithMap(hObject, inStrObjName):
    return BOOLEAN

Parameters

hObject HANDLE Object's Handle.
inStrObjName STRING Object name.

Remarks

Return Values

TRUE on success, FALSE indicates failure.

Example

VectorScript

PROCEDURE Test;
VAR
	ok : BOOLEAN;
BEGIN
	ok := ReplaceIFCWithMap(NULL, 'Wall');
END;

RUN(Test);

Python

ok = vs.ReplaceIFCWithMap(NULL, 'Wall')

Version

Available from: Vectorworks 2017
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox