 | IObjectsAddBox Method |
Adds a box with faces parallel to coordinate system axes.
The created faces have the following names: "BottomXY", "TopXY", "BottomXZ",
"TopXZ", "BottomYZ", "TopYZ". For example, "BottomXY" is the face parallel
to the XY plane and has smaller value of Z component than "TopXY" face.
All dimensions can have negative values.
Namespace:
EMInvent.InventSim.COMServer
Assembly:
InventSim (in InventSim.exe) Version: 5.1.12.6+develop
SyntaxISimObject AddBox(
string name,
string p0,
string xdim,
string ydim,
string zdim
)
Function AddBox (
name As String,
p0 As String,
xdim As String,
ydim As String,
zdim As String
) As ISimObject
Dim instance As IObjects
Dim name As String
Dim p0 As String
Dim xdim As String
Dim ydim As String
Dim zdim As String
Dim returnValue As ISimObject
returnValue = instance.AddBox(name, p0,
xdim, ydim, zdim)
Parameters
- name
- Type: SystemString
Name of the box. - p0
- Type: SystemString
Starting position. - xdim
- Type: SystemString
Length in X dimension. - ydim
- Type: SystemString
Length in Y dimension. - zdim
- Type: SystemString
Length in Z dimension.
Return Value
Type:
ISimObjectReference to the box.
See Also