GraphicsPrimitive Object
Description
The GraphicsPrimitive object is the base class for all the various primitive types of client graphics.
Methods
Delete |
Method that deletes the graphics primitive. |
GetViewSpaceAnchor |
Method that gets the anchor information of the graphics object. This method returns an error if the 'Anchored' property returns False. |
RemoveViewSpaceAnchor |
The RemoveViewSpaceAnchor method removes the view space anchor from the object, and sets the Anchored property to false. |
SetViewSpaceAnchor |
Method that anchors the graphics object at the specified point in view space. The Anchored property is set to True. |
Properties
Anchored |
Property that indicates whether this graphics primitive is anchored in view space. This property can only be set to False. The Anchored property is automatically set to True by the SetViewSpaceAnchor method. |
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
Id |
Read-only property that returns the Id of the object. |
Parent |
Property that returns the parent object from whom this object can logically be reached. |
RangeBox |
Property that returns a Box object which contains the opposing points of a rectangular box that is guaranteed to enclose this object. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
GraphicsNode.Item,
GraphicsNode.ItemById,
GraphicsNodeProxy.Item,
GraphicsNodeProxy.ItemById
Derived Classes
ComponentGraphics,
CurveGraphics,
LineGraphics,
LineStripGraphics,
PointGraphics,
SurfaceGraphics,
TextGraphics,
TriangleFanGraphics,
TriangleGraphics,
TriangleStripGraphics
Version
Introduced in version 5