Click or drag to resize

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
Syntax
ISimObject AddBox(
	string name,
	string p0,
	string xdim,
	string ydim,
	string 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: ISimObject
Reference to the box.
See Also