Skip to content

Latest commit

 

History

History
67 lines (56 loc) · 1.89 KB

File metadata and controls

67 lines (56 loc) · 1.89 KB

AddTileGeometryObject

Description

Adds the specified object to the specified tile resource.

FUNCTION AddTileGeometryObject(
				tileHandle   : HANDLE;
				objectHandle : HANDLE): BOOLEAN;
def vs.AddTileGeometryObject(tileHandle, objectHandle):
    return BOOLEAN

Parameters

Name Type Description
tileHandle HANDLE The handle to the tile resource.
objectHandle HANDLE The handle to the object to add.

Examples

return := AddTileGeometryGroup(tileHandle, objectHandle);
resultOK := AddTileGeometryObject(tileHandle, objectHandle);
import vs

# Adds the specified object to the specified tile resource.
tileHandle = vs.FSActLayer()  # handle to the first selected object on the active layer
objectHandle = vs.NextSObj(vs.FSActLayer())  # handle to the next selected object

ok = vs.AddTileGeometryObject(tileHandle, objectHandle)
if ok:
    vs.Message('AddTileGeometryObject succeeded')
else:
    vs.Message('AddTileGeometryObject failed')

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