Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 1.67 KB

File metadata and controls

61 lines (50 loc) · 1.67 KB

GetTileGroupParent

Description

Gets the tile resource parent of the specified tile group.

FUNCTION GetTileGroupParent(groupHandle : HANDLE): HANDLE;
def vs.GetTileGroupParent(groupHandle):
    return HANDLE

Parameters

Name Type Description
groupHandle HANDLE The group handle of which to get the tile resource parent.

Examples

tileHandle := GetTileGroupParent(groupHandle);
resultH := GetTileGroupParent(groupHandle);
import vs

# Gets the tile resource parent of the specified tile group.
groupHandle = vs.FSActLayer()  # handle to the first selected object on the active layer

objHandle = vs.GetTileGroupParent(groupHandle)
if objHandle is not None:
    vs.Message('Created object handle: ' + str(objHandle))

See Also

VS Functions: CreateTile | ShowEditTileDialog | ShowEditTileSettingsDialog | ShowNewTileDialog | GetTileGeometryGroup | BeginGroupN | AddTileGeometryObject | GetTileGroupParent | IsTileGroupContainedObject | GetTileBackgroundColor | SetTileBackgroundColor | GetTileRepetitionPoint | SetTileRepetitionPoint | GetTileOffsetPoint | SetTileOffsetPoint

Version

Availability: from Vectorworks 2011

Category