Skip to content

Latest commit

 

History

History
51 lines (44 loc) · 848 Bytes

File metadata and controls

51 lines (44 loc) · 848 Bytes

FInGroup

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

Name Type Description
ObjectHd HANDLE Handle to group object.

Examples

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

Category