v2.42
 
IPlacement2DObject Interface Reference

Represents a 2D placement based object. More...

Public Member Functions

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

Detailed Description

Represents a 2D placement based object.

Use this interface to control the 2D placement of drawing objects. This interface can be obtained as an additional interface from IModelObject.

Note
3D view and assembly objects are located in three-dimensional space, so use ILevelObject to control their placement.
See also
IModelObject, ITextObject, IPlacement2D, Placement2D

Member Function Documentation

◆ GetPlacement()

HRESULT GetPlacement ( [out, retval] IPlacement2D ** ppPlacement)

Returns the copy of the local coordinate system of an object in two-dimensional space.

Parameters
[out]ppPlacementThe requested placement.
See also
IPlacement2D

◆ SetPlacement()

HRESULT SetPlacement ( [in] IPlacement2D * pPlacement)

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

Parameters
[in]pPlacementNew placement of the object.
Note
For now you can edit placement of an object of type DrawingText.
See also
IPlacement2D