Difference between revisions of "VS:IFC DeleteIFCInfo"

From Vectorworks Developer
Jump to: navigation, search
m (fix typo)
Line 6: Line 6:
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<desc>
 
<desc>
Deletes all IFC data, attached to the object.</desc>
+
Deletes all IFC data attached to the object.</desc>
  
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------

Revision as of 04:44, 11 June 2020

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

Description

Deletes all IFC data attached to the object.
PROCEDURE IFC_DeleteIFCInfo(
hObject  :HANDLE, TRUE);
def vs.IFC_DeleteIFCInfo(hObject:HANDLE, true);
    return None

Parameters

hObject HANDLE Handle to the object.
bDoUndo BOOLEAN Use undo or not.

Example

VectorScript

PROCEDURE DeleteIFCInfo;
VAR
        bUndo          : BOOLEAN
        bOK            : BOOLEAN
        hObject        : HANDLE
BEGIN
        {We suggest that we have a handle to an object that has IFC data attached and we want to remove it and have the option to UNDO the change}
        bUndo          := TRUE;
	bOK            := IFC_DeleteIFCInfo( hObject, bUndo );
END;

RUN(DeleteIFCInfo);

Python

# We suggest that we have a handle to an object that has IFC data attached and we want to remove it and have the option to UNDO the change
ok = vs.IFC_DeleteIFCInfo( hObject, true );

Version

Availability: from Vectorworks 2017
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox