Difference between revisions of "VS:IFC ClearAllPsets"

From Vectorworks Developer
Jump to: navigation, search
(Created page with "{{LocationMain|category=LocationVS|specific=}} __TOC__ <vwDoc> ----------------------------------------------------------------------------------------------------------- <de...")
 
Line 25: Line 25:
 
hObject
 
hObject
 
HANDLE
 
HANDLE
...
+
Handle to object.
 
</line>
 
</line>
 
</lineList>
 
</lineList>
Line 41: Line 41:
 
==== VectorScript ====
 
==== VectorScript ====
 
<code lang="pas">
 
<code lang="pas">
 +
PROCEDURE Test;
 +
VAR
 +
hObject : HANDLE;
 +
ok : BOOLEAN;
 +
BEGIN
 +
hObject := FSActLayer;
 +
ok := IFC_ClearAllPsets(hObject);
 +
END;
 +
 +
RUN(Test);
 
</code>
 
</code>
 
==== Python ====
 
==== Python ====
 
<code lang="py">
 
<code lang="py">
 +
hObject = vs.FSActLayer()
 +
ok = vs.IFC_ClearAllPsets(hObject)
 
</code>
 
</code>
 
</sample>
 
</sample>

Revision as of 03:03, 15 October 2018

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

Description

Removes all IFC Psets.
FUNCTION IFC_ClearAllPsets(
hObject  :HANDLE) : BOOLEAN;
def vs.IFC_ClearAllPsets(hObject):
    return BOOLEAN

Parameters

hObject HANDLE Handle to object.

Remarks

Return Values

TRUE on success, FALSE indicates failure.

Example

VectorScript

PROCEDURE Test;
VAR
	hObject : HANDLE;
	ok : BOOLEAN;
BEGIN
	hObject := FSActLayer;
	ok := IFC_ClearAllPsets(hObject);
END;

RUN(Test);

Python

hObject = vs.FSActLayer()
ok = vs.IFC_ClearAllPsets(hObject)

Version

Availability: from Vectorworks 2011
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox