 | IObjectsCloneAlongLine Method |
Clones an object along line i.e. creates a series of clones placed
along line with a specified offset.
Namespace:
EMInvent.InventSim.COMServer
Assembly:
InventSim (in InventSim.exe) Version: 5.1.12.6+develop
Syntaxvoid CloneAlongLine(
ISimObject simObject,
int copies,
string offset
)
Sub CloneAlongLine (
simObject As ISimObject,
copies As Integer,
offset As String
)
Dim instance As IObjects
Dim simObject As ISimObject
Dim copies As Integer
Dim offset As String
instance.CloneAlongLine(simObject, copies,
offset)
Parameters
- simObject
- Type: EMInvent.InventSim.COMServerISimObject
Object to be cloned. - copies
- Type: SystemInt32
Number of clones to be created (minimum 1). - offset
- Type: SystemString
Offset of each clone.
Examples
IObjects objects = app.ActiveProject.Objects;
ISimObject simObject = objects.Get("Box1");
objects.Clone(simObject, 3, "3 mm;0 mm;1 mm");
See Also