Share

SheetMetalComponentDefinition Object

Derived from: PartComponentDefinition Object

Description

The SheetMetalComponentDefinition object derives from the PartComponentDefinition object. It adds the sheet metal-specific behavior to the PartComponentDefinition.

Methods

Name Description
ClearAppearanceOverrides Clears the appearance overrides on the provided objects. The objects can include faces, features, work surfaces, surface bodies and occurrences.
CreateFactory Converts a part to an iPart factory.
CreateGeometryIntent Method that creates a GeometryIntent object. GeometryIntent objects are used as input when creating annotations in the model. They are used to identify geometry and optionally specific locations on that geometry.
DeleteObjects Method that deletes a collection of objects that belong to the part.
ExportObjects Marks all the input objects as exported.
FindUsingPoint Method that finds all the entities of the specified type at the specified location.
FindUsingRay Method that fires a ray through the part or assembly and returns the entities intersected by the ray. The objects intersected by the ray are returned in the order in which they are intersected, with the first entities returned being those closest to the clipping plane.
FindUsingVector Method that finds all the entities of the specified type along the specified vector using either a cylinder or cone that to define the tolerance within the defined vector.
GetBodySheetMetalStyle Method that gets the sheet metal style for a surface body.
GetEndOfPartPosition Gets the current end of part position in the browser (in parts).
GetUnusedGeometries Method that gets the unused sketches and work features.
PurgeUnusedGeometries Method that purges unused sketches and work features.
RepositionObject Method that repositions the specifies object(s) to the new position within the collection of the object in the document.
SetBodySheetMetalStyle Method that sets the sheet metal style for a surface body.
SetBodySheetMetalStyle2 Method that sets the sheet metal style for a surface body, can ignore computation errors.
SetEndOfPartToTopOrBottom Method that positions the end-of-part marker at the top or bottom of the browser.
SuppressFeatures Method that suppresses the specified features.
Unfold Method that generates the flat pattern.
Unfold2 Method that generates the flat pattern with the input face as the base face.
UnsuppressFeatures Method that unsuppresses the specified features.

Properties

Name Description
ActiveSheetMetalStyle Property that returns the active SheetMetalStyle object.
AnalysisManager Property that returns the AnalysisManager object.
AnnotationPlanes Read-only property that returns the AnnotationPlanes collection object. This object provides access to all of the annotation planes in the part.
AppearanceOverridesObjects Gets the objects that have appearance overrides in the active design view. The objects can include faces, features, work surfaces and surface bodies.
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.
ASideDefinitions Read-only property that returns the ASideFaceDefinitions collection object.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
BendRadius Property that returns the parameter that controls the bend radius of the part.
BendReliefDepth Property that returns the parameter that controls the bend relief depth of the part.
BendReliefWidth Property that returns the parameter that controls the bend relief width of the part.
Bends Inventor::PartComponentDefinition::Bends
BIMComponent Read-only property that returns the BIMComponent object associated with this component definition.
BOMQuantity Property that returns the BOMQuantity object.
BOMStructure Gets and sets how the component is used/viewed in a BOM.
ClientGraphicsCollection Property that returns the ClientGraphicsCollection object.
CompactModelHistoryOnNextSave Gets/Sets the flag that decides whether the BRep's modifications through its history are saved explicitly in the next save or not (independent of CompactModelHistory setting).
CornerReliefSize Property that returns the parameter that controls the corner relief size of the part.
DataIO Gets the object that directly deals with I/O to and from a storage-medium, including Streams(IStream).
Document Property that returns the containing Document object.
FactoryDocument Read-only property that returns the model state factory document when IsModelStateMember returns True.
Features Property that returns the PartFeatures collection object.
FlatPattern Property that returns the FlatPattern object. If the sheet metal part hasn't been unfolded, this property returns Nothing.
GapSize Inventor::PartComponentDefinition::GapSize
HasFlatPattern Property that returns whether the sheet metal body has been unfolded and a FlatPattern object exists.
HasMultipleSolidBodies Determines whether the part contains multiple solid bodies or not.
iMateDefinitions Property that returns the iMateDefinitions collection object associated with this part.
iPartFactory Property that returns the iPartFactory object. This property will fail in the case where the part is not an iPart Factory. You can determine this by using the IsiPartFactory property.
iPartMember Property that returns the iPartMember object.
IsContentMember Property that indicates if this part is a Content Center part or not. A value of True indicates it is a Content Center part.
IsiPartFactory Property that returns if the part is an iPart Factory or not. It returns True in the case where the part is a factory. If True, the factory can be obtained using the iPartFactory property.
IsiPartMember Property that returns the iPartMember object. This property will fail in the case where the part is not an iPart Member. You can determine this by using the IsiPartMember property.
IsModelStateFactory Read-only property that returns whether the document is a model state factory document or not.
IsModelStateMember Read-only property that returns whether the document is a model state member document or not.
JacobiRadiusSize Property that returns the parameter that controls the Jacobi radius size of the part.
MassProperties Mass properties for this ComponentDefinition.
MeshFeatureSets Read-only property that returns the MeshFeatureSets collection object.
MinimumRemnant Property that returns the parameter that controls the minimum remnant of the part.
ModelAnnotations Read-only property that returns the ModelAnnotations collection object. This object provides access to all of the model annotations in the part.
ModelGeometryVersion Property that returns a string that can be used to determine if the document has been modified. This version string is changed every time the assembly is modified. By saving a previous version string, you can compare the current version string to see if the assembly has been modified.
ModelStates Read-only property that returns the ModelStates object.
ModelToleranceFeatures Returns the ModelToleranceFeatures collection object. This object provides access to all of the model annotations in the part.
Occurrences Property that returns the collection object.
OrientedMinimumRangeBox Read-only property that returns the oriented minimum range box for this object.
Parameters Gets the Parameters collection object that encapsulates all of the parameters defined in this ComponentDefinition.
PartEvents Property that returns the PartEvents source object.
PointClouds Gets the PointClouds collection object that encapsulates all of the point clouds defined in this Component Definition.
PreciseRangeBox Gets a bounding box that tightly encloses all the solid and surface bodies under the ComponentDefinition.
RangeBox Property that returns a Box object which contains the opposing points of a rectangular box that is guaranteed to enclose this object.
ReferenceComponents Property that returns the ReferenceComponents collection object.
RepresentationsManager Read-only property that returns the RepresentationsManager object.
RolledBackForEdit Property that gets whether the model is currently rolled back to a previous point in the feature history.
SheetMetalStyles Property that returns the SheetMetalStyles collection object.
SketchBlockDefinitions Property that returns the SketchBlockDefinitions collection object.
Sketches Gets the PlanarSketches collection object that encapsulates all of the planar sketches defined in this ComponentDefinition.
Sketches3D Property that returns the Sketches3D collection object that encapsulates all of the 3D sketches defined in this ComponentDefinition.
SurfaceBodies Property that returns all of the result SurfaceBody objects contained within this ComponentDefinition.
Thickness Property that returns the parameter that controls the thickness of the part.
TransitionRadius Property that returns the parameter that controls the transition radius of the part.
Type Returns an ObjectTypeEnum indicating this object's type.
UnfoldMethod Read-write property that gets and sets the currently active unfold method for the document.
UnfoldMethods Property that returns the UnfoldMethods collection object.
UserCoordinateSystems Property that returns the UserCoordinateSystems collection object.
UseSheetMetalStyleMaterial Read-write property that specifies if the material is defined by the sheet metal style or it is explictly set.
UseSheetMetalStyleThickness Read-write property that specifies if the active thickness is defined by the sheet metal style or it is explictly set.
UseSheetMetalStyleUnfoldMethod Read-write property that specifies whether to use the unfold method specified by the sheet metal style or not.
WorkAxes Property that returns the WorkAxes collection object.
WorkPlanes Property that returns the WorkPlanes collection object.
WorkPoints Property that returns the WorkPoints collection object.
WorkSurfaces Property that returns the collection object that encapsulates all of the work surfaces defined in this PartComponentDefinition.

Accessed From

ASideDefinition.Parent, ASideDefinitions.Parent, Bend.Parent, FlatPattern.Parent

Samples

Name Description
Create sheet metal face and fold features This sample demonstrates the creation of sheet metal face and fold features.
Create sheet metal lofted flange feature The following sample demonstrates the creation of a sheet metal lofted flange feature.
Report on punch feature ID's This program demonstrates accessing punch features and creates a report of the punch ID's used.
Add a punch tool feature This program demonstrates the creation of a punch tool feature. It uses one of the punch features that's delivered with Inventor. It assumes you already have an existing sheet metal part and have selected a face to place the punch feature on. The selected face should be large so there is room for the punch features.
Sheet Metal Feature Display This sample illustrates getting basic information from the various sheet metal features.
Create sheet metal face and cut features This sample demonstrates the creation of sheet metal face and cut features.
Create sheet metal face and flange features This sample demonstrates the creation of sheet metal face and flange features.
Sheet Metal Style Display This sample illustrates getting information about sheet metal styles.
Sheet Metal Thickness Editing This sample illustrates editing the thickness of a sheet metal part.

Version

Introduced in version 5.3

Was this information helpful?