Share

ClientGraphicsCollection Object


Description

The ClientGraphicsCollection object provides access to all of the existing objects associated with a graphics container.

Methods

Name Description
Add Method that creates a new ClientGraphics object. The identifier supplied needs to uniquely identify the client. The method will fail in the case where a ClientGraphics object with this ClientId already exists on the object.

Properties

Name Description
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.
Count Property that returns the number of ClientGraphics objects associated with the graphic container.
Item Returns an existing ClientGraphics object.
NonTransacting Read-only property that returns whether the creation of this ClientGraphicsColection object and all its associated data is non-transacting.
Parent Property returns the logical parent of this object. This could currently be a ComponentDefinition or an AssemblyOccurrence.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

AssemblyComponentDefinition.ClientGraphicsCollection, AssemblyDocument.NonTransactingClientGraphicsCollection, ClientFeatureDefinition.ClientGraphicsCollection, ClientGraphics.Parent, ComponentDefinition.ClientGraphicsCollection, DetailDrawingView.ClientGraphicsCollection, Document.NonTransactingClientGraphicsCollection, DrawingDocument.NonTransactingClientGraphicsCollection, DrawingView.ClientGraphicsCollection, FlatPattern.ClientGraphicsCollection, PartComponentDefinition.ClientGraphicsCollection, PartDocument.NonTransactingClientGraphicsCollection, PresentationDocument.NonTransactingClientGraphicsCollection, PresentationScene.ClientGraphicsCollection, Publication.ClientGraphicsCollection, SectionDrawingView.ClientGraphicsCollection, Sheet.ClientGraphicsCollection, SheetMetalComponentDefinition.ClientGraphicsCollection, VirtualComponentDefinition.ClientGraphicsCollection, WeldmentComponentDefinition.ClientGraphicsCollection, WeldsComponentDefinition.ClientGraphicsCollection

Samples

Name Description
Client graphics - image in point graphics The following sample demonstrates creation of point client graphics with a custom image.
Client graphics creation of 3D primitives This sample demonstrates the creation of 3D primitives (cylinder, cone, etc.) using client graphics.
Create curve primitives This sample demonstrates the creation of curve primitives (lines, arcs, circles, etc.) using client graphics.

Version

Introduced in version 5

Was this information helpful?