Creates and returns a single chain dimension object when the two dimensions or chains that are passed in meet the requirements for being in a single chain dimension object.
FUNCTION CreateChainDimension(
h1 : HANDLE;
h2 : HANDLE): HANDLE;def vs.CreateChainDimension(h1, h2):
return HANDLE| Name | Type | Description |
|---|---|---|
| h1 | HANDLE | |
| h2 | HANDLE |
resultH := CreateChainDimension(h1, h2);import vs
# Creates and returns a single chain dimension object when the two dimensions
# or chains that are passed in meet the requirements for being in a single
# chain di.
h1 = vs.FSActLayer() # handle to the first selected object on the active layer
h2 = vs.NextSObj(vs.FSActLayer()) # handle to the next selected object
objHandle = vs.CreateChainDimension(h1, h2)
if objHandle is not None:
vs.Message('Created object handle: ' + str(objHandle))Availability: from VectorWorks12.5