VS:FInGroup

From Vectorworks Developer
Jump to: navigation, search

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


Description

Function FInGroup returns a handle to the first component object of the referenced group.
FUNCTION FInGroup(
ObjectHd  :HANDLE) : HANDLE;
def vs.FInGroup(ObjectHd):
    return HANDLE

Parameters

ObjectHd HANDLE Handle to group object.

Example

VectorScript

PROCEDURE Example;
VAR
h :HANDLE;
BEGIN
h := FInGroup(FSActLayer);
WHILE h <> NIL DO BEGIN
SetClass(h, 'None');
h := NextObj(h);
END;
END;
RUN(Example);

Python

def Example():
	tmph = vs.FSActLayer()
	if tmph != 0:
		h = vs.FInGroup(tmph)
		if  h != 0:			
			vs.SetClass(h, 'None')
			h = vs.NextObj(h)
Example()

Version

Availability: from All Versions
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox