v2.42
 
ILevelObject Interface Reference

Represents an object belonging to a level. More...

Public Member Functions

HRESULT GetPlacement ([out, retval] IPlacement3D **pPlacement)
 Returns the copy of the local coordinate system of an object in three-dimensional space.
 
HRESULT SetPlacement ([in] IPlacement3D *pPlacement)
 Sets the local coordinate system of an object in three-dimensional space.
 

Properties

double ElevationAboveLevel [get]
 Elevation of the object above the parent level.
 
int LevelId [get]
 The ID of the parent level.
 
double PlacementElevation [get]
 Elevation of the object's placement above the parent level.
 
double VerticalOffset [get]
 Vertical offset from the object's placement.
 

Detailed Description

Represents an object belonging to a level.

Use this interface to control the 3D placement of 3D view and assembly objects, determine which level the object is based on, and how far from the parent level the object is. This interface can be obtained as an additional interface from IModelObject.

Note
Drawing objects are located in two-dimensional space, so use IPlacement2DObject to control their placement.
See also
IModelObject, ILevel

Member Function Documentation

◆ SetPlacement()

HRESULT SetPlacement ( [in] IPlacement3D * pPlacement)

Sets the local coordinate system of an object in three-dimensional space.

Note
For now it is impossible to edit placement of an object with dependent objects. For now you can edit placement of all objects on Level except: Beam, Line3D, Rebar, Room, RoutePoint.

Property Documentation

◆ ElevationAboveLevel

double ElevationAboveLevel
get

Elevation of the object above the parent level.

The elevation of an object equals the sum of the elevation of the object's placement and the vertical offset of the object from its placement.