MultiDraft Class

class NXOpen.GeometricUtilities.MultiDraft

Bases: NXOpen.GeometricUtilities.SimpleDraft

Represents a multi-draft.

New in version NX5.0.0.

Properties

Property Description
BackDraftAngle Returns the back draft angle.
DraftAngle Returns the draft angle
DraftOption Returns or sets the draft type
DraftType Returns or sets the simple draft type
FrontDraftAngle Returns the front draft angle.
Tag Returns the Tag for this object.

Methods

Method Description
GetAngleOption Returns the draft angle option
GetDrafts Return all the drafts
SetAngleOption Sets the draft angle option
SetDraftAngle Sets the draft angle
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

MultiDraftAngleOption Enumeration Represents the angle option.

Property Detail

BackDraftAngle

MultiDraft.BackDraftAngle

Returns the back draft angle.

This function is used only when the angle type is GeometricUtilities.MultiDraftAngleOption.Single.

-------------------------------------

Getter Method

Signature BackDraftAngle

Returns:
Return type:NXOpen.Expression

New in version NX5.0.0.

License requirements: None.

DraftOption

MultiDraft.DraftOption

Returns or sets the draft type

-------------------------------------

Getter Method

Signature DraftOption

Returns:
Return type:NXOpen.GeometricUtilities.SimpleDraftSimpleDraftType

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature DraftOption

Parameters:type (NXOpen.GeometricUtilities.SimpleDraftSimpleDraftType) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

FrontDraftAngle

MultiDraft.FrontDraftAngle

Returns the front draft angle.

This function is used only when the angle type is GeometricUtilities.MultiDraftAngleOption.Single.

-------------------------------------

Getter Method

Signature FrontDraftAngle

Returns:
Return type:NXOpen.Expression

New in version NX5.0.0.

License requirements: None.

Method Detail

GetAngleOption

MultiDraft.GetAngleOption

Returns the draft angle option

Signature GetAngleOption()

Returns:
Return type:NXOpen.GeometricUtilities.MultiDraftAngleOption

New in version NX5.0.0.

License requirements: None.

GetDrafts

MultiDraft.GetDrafts

Return all the drafts

Signature GetDrafts(section)

Parameters:section (NXOpen.Section) –
Returns:Array of draft objects
Return type:list of NXOpen.Features.EmbossTaper

New in version NX5.0.0.

License requirements: None.

SetAngleOption

MultiDraft.SetAngleOption

Sets the draft angle option

Signature SetAngleOption(type)

Parameters:type (NXOpen.GeometricUtilities.MultiDraftAngleOption) –

New in version NX5.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Validate

MultiDraft.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.