Share

PointGraphics Object

Derived from: GraphicsPrimitive Object

Description

The PointGraphics object defines a set of points. Each coordinate provided defines a point.

Methods

Name Description
Delete Method that deletes the graphics primitive.
GetCustomImage Method that gets the image used for this PointGraphics object. This is only valid in the case where the PointRenderStyle property returns kCustomImagePointStyle, otherwise this method will fail.
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.
SetCustomImage Method that sets the custom image to use for this PointGraphics object. This is cause the PointerRenderStyleProperty to return kCustomImagePointStyle. You can remove the custom image by setting the PointRenderStyle to one of the predefined point types.
SetViewSpaceAnchor Method that anchors the graphics object at the specified point in view space. The Anchored property is set to True.

Properties

Name Description
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.
BurnThrough Read-write property that specifies whether or not graphics are always visible even if they are blocked by other objects.
CoordinateIndexSet Gets and sets the GraphicsIndexSet that defines indices within the coordinate set to use for the point of the set.
CoordinateSet Gets and sets the GraphicsCoordinateSet associate with set.
DepthPriority Read-write property that allows you specify a priority to a set.
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.
PointRenderStyle Gets and sets the point style associated with the PointGraphics object.
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.AddPointGraphics, GraphicsNodeProxy.AddPointGraphics

Samples

Name Description
Client graphics - image in point graphics The following sample demonstrates creation of point client graphics with a custom image.
OnDrag Event - dragging a WorkPoint This sample demonstrates the use of the OnDrag event to drag fixed work points when no command is active. This sample only allows drags parallel to the X-Y plane. This sample is dependent on events and VB only supports events within a class module.

Version

Introduced in version 5

Was this information helpful?