Share

ImportedDWGComponent Object

Derived from: ImportedComponent Object

Description

ImportedDWGComponent Object.

Methods

Name Description
BreakLinkToFile Method that breaks the connection of the derived component with the part or assembly from which it was created. When the link is broken the ReferencedFile property will return Nothing.
Delete Method that deletes the ReferenceComponent.
GetReferenceKey Method that generates and returns the reference key for this entity.
SetEndOfPart Method that repositions the end-of-part marker relative to the object this method is called from.

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.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
Crop Read-write property that gets and sets the crop in LocationPlane space. Set this to Nothing will clear the crop.
Definition Read-write property that gets and sets the ImportedComponentDefinition which defines the various inputs that were used to create the imported component.
Grounded Read-write property that gets and sets whether the object is grounded or not.
HealthStatus Property that returns an enum indicating the current state of the object.
IsEmbedded Property that returns whether the reference component refers to an embedded document or a linked document.
Layers Read-only property that returns the ImportedDWGLayersEnumerator collection object.
LinkedToFile Property that returns whether the derived component is still linked to the base part or assembly document. If True, the link still exists. If False, the link has been broken and the ReferencedFile property will return Nothing.
ModelSpaceDefinition Read-only property that returns the DWGModelSpaceDefinition object.
Name Property that returns the component's name.
Origin Read-only property that returns the work point that represents the origin for the component.
Parent Property that returns the parent object.
RangeBox Read-only property that returns the bounding box of the DWG graphics.
ReferencedDocumentDescriptor Property that returns the DocumentDescriptor object.
SuppressLinkToFile Read-write property that gets and sets whether to suppress the connection of the imported component with the file from which it was created.
Type Returns an ObjectTypeEnum indicating this object's type.
Visible Read-write property that gets and sets whether this object is visible or not.
XAxis Read-only property that returns the work axis that represents the x-axis for the component.
XYPlane Read-only property that returns the work plane that represents the X-Y plane for the component.
XZPlane Read-only property that returns the work plane that represents the X-Z plane for the component.
YAxis Read-only property that returns the work axis that represents the y-axis for the component.
YZPlane Read-only property that returns the work plane that represents the Y-Z plane for the component.
ZAxis Read-only property that returns the work axis that represents the z-axis for the component.

Accessed From

DWGAcadSupportedProxy.Parent, DWGAcadSupportedProxyProxy.Parent, DWGACMStandardPart.Parent, DWGACMStandardPartProxy.Parent, DWGArc.Parent, DWGArcProxy.Parent, DWGBlockDefinition.Parent, DWGBlockDefinitionProxy.Parent, DWGBlockReference.Parent, DWGBlockReferenceProxy.Parent, DWGEllipticalArc.Parent, DWGEllipticalArcProxy.Parent, DWGEntity.Parent, DWGEntityProxy.Parent, DWGEntitySegmentProxy.Parent, DWGLine.Parent, DWGLineProxy.Parent, DWGPoint.Parent, DWGPointProxy.Parent, DWGPolyline.Parent, DWGPolyline2D.Parent, DWGPolyline2DProxy.Parent, DWGPolyline3D.Parent, DWGPolyline3DProxy.Parent, DWGPolylineProxy.Parent, DWGSpline.Parent, DWGSplineProxy.Parent, DWGUnderlays.Add, DWGUnderlays.Item, ImportedDWGComponentProxy.NativeObject

Derived Classes

ImportedDWGComponentProxy

Samples

Name Description
ImportedDWGComponent Creation This sample demonstrates how to create an imported DWG component into Inventor part document, and project the DWG entities onto Inventor planar sketch.

Version

Introduced in version 2016

Was this information helpful?