Share

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 Gets and sets which angle is to be reported in the flat pattern.
BendRadius Gets and sets the expression that defines the value of the bend radius depth.
BendReliefDepth Gets and sets the expression that defines the value of the bend relief depth.
BendReliefShape Gets/Sets BendReliefShape.
BendReliefWidth Gets and sets the expression that defines the value of the bend relief width.
BendTransition Gets/Sets BendTransition.
BendTransitionArcRadius Gets and sets the expression that defines the value of the bend relief arc radius.
Comments Gets and sets comments associated with the style.
CornerReliefPlacement Gets and sets corner relief placement (valid only for square and round corners).
CornerReliefShape Gets and sets the expression that defines the value of the corner relief size radius.
CornerReliefSize Gets CornerReliefSize.
GapSize Gets and sets the expression that defines the value of the gap size for miters, seams, and rips.
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 Gets and sets the expression that defines the value of the corner relief size radius.
Name Gets/Sets the name of the Style.
Parent Property returning the parent of this object.
PunchRepresentationType Gets and sets the default punch representation type.
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 Read-write property that gets and sets the expression that defines the value of the thickness.
ThreeBendCornerReliefShape Gets and sets the expression that defines the value of the corner relief size radius.
ThreeBendCornerReliefSize Get the parameter that defines the three bend corner relief size for this style.
Type Returns an ObjectTypeEnum indicating this object's type.
UnfoldMethod Read-write property that gets and set the unfold method associated with the style.
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

Was this information helpful?