SheetMetalStyle Object

Derived from: Style Object

Description

The SheetMetalStyle object contains all of the information about a particular sheet metal style (these are also referred to as sheet metal rules).

Methods

Name Description
Activate Method that causes this sheet metal style to become the active sheet metal style for this document.
ConvertToLocal Method that creates a local cached copy of a global style and returns the local style.
Copy Method that creates a new local Style object. The newly created style is returned.
Delete Method that deletes the Style/Layer/UnfoldMethod.
GetReferenceKey Method that generates and returns the reference key for this entity.
SaveToGlobal Method that saves this style to the global repository. If a style with the same name is found in the repository, that style is updated.
UpdateFromGlobal Method that updates this style from the global repository.

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.
BendAngleReportType
BendRadius
BendReliefDepth
BendReliefShape
BendReliefWidth
BendTransition
BendTransitionArcRadius
Comments
CornerReliefPlacement
CornerReliefShape
CornerReliefSize
GapSize
InternalName Property that returns the internal name of the style. The name is the internal English name of the standard style. This name will remain constant and is not affected by locale. This name is never displayed to the user. Note that this name is not guaranteed to be unique.
InUse Property that indicates if this style is in use.
MinimumRemnant
Name
Parent Property returning the parent of this object.
PunchRepresentationType
StyleLocation Property that returns the location of this style, i.e. local to the document, cached locally in the document, exists in the library. Styles that exist in the library cannot be edited.
StyleType Gets the type of the style.
Thickness
ThreeBendCornerReliefShape
ThreeBendCornerReliefSize
Type Returns an ObjectTypeEnum indicating this object's type.
UnfoldMethod
UpToDate Property that gets the up-to-date status of the style against the global repository.

Accessed From

ContourFlangeDefinition.SheetMetalRule, FaceFeatureDefinition.SheetMetalRule, LoftedFlangeDefinition.SheetMetalRule, SheetMetalComponentDefinition.ActiveSheetMetalStyle, SheetMetalComponentDefinition.GetBodySheetMetalStyle, SheetMetalStyles.Item

Samples

Name Description
Sheet Metal Style Display This sample illustrates getting information about sheet metal styles.
Sheet Metal Style Creation This sample illustrates creating a new sheet metal style. It uses a bend table and assumes the sample bend table delivered with Inventor is available. You can edit the path below to reference any existing bend table. To use the sample make sure a bend table is available at the specified path, open a sheet metal document, and run the sample.

Version

Introduced in version 5.3