NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::GeometricUtilities::SimpleDraft Class Reference

Represents an Offset . More...

Inheritance diagram for NXOpen::GeometricUtilities::SimpleDraft:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder NXOpen::GeometricUtilities::MultiDraft

Public Types

enum  SimpleDraftType {
  SimpleDraftTypeNoDraft, SimpleDraftTypeSimpleFromStart, SimpleDraftTypeSimpleFromProfile, SimpleDraftTypeSymmetric,
  SimpleDraftTypeMatchedEnds, SimpleDraftTypeAsymmetric
}
 This enum represents the kind of simple_draft. More...
 

Public Member Functions

NXOpen::ExpressionDraftAngle ()
 Returns the draft angle. More...
 
NXOpen::GeometricUtilities::SimpleDraft::SimpleDraftType DraftType ()
 Returns the simple draft type. More...
 
void SetDraftAngle (const NXString &draftAngle)
 Sets the draft angle
More...
 
void SetDraftAngle (const char *draftAngle)
 Sets the draft angle
More...
 
void SetDraftType (NXOpen::GeometricUtilities::SimpleDraft::SimpleDraftType type)
 Sets the simple draft type. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents an Offset .


Created in NX4.0.0.

Member Enumeration Documentation

This enum represents the kind of simple_draft.

Enumerator
SimpleDraftTypeNoDraft 

No draft.

SimpleDraftTypeSimpleFromStart 

Draft using the start limit as the reference.

SimpleDraftTypeSimpleFromProfile 

Draft using the profile as the reference.

SimpleDraftTypeSymmetric 

Draft on both sides of the profile using the same angle.

SimpleDraftTypeMatchedEnds 

Draft on both sides of the profile such that the end profiles match in areas.

SimpleDraftTypeAsymmetric 

Draft on both sides of the profile using the not same angle.

Member Function Documentation

NXOpen::Expression* NXOpen::GeometricUtilities::SimpleDraft::DraftAngle ( )

Returns the draft angle.


Created in NX4.0.0.

License requirements : None

NXOpen::GeometricUtilities::SimpleDraft::SimpleDraftType NXOpen::GeometricUtilities::SimpleDraft::DraftType ( )

Returns the simple draft type.


Created in NX4.0.0.

License requirements : None

void NXOpen::GeometricUtilities::SimpleDraft::SetDraftAngle ( const NXString draftAngle)

Sets the draft angle

Deprecated:
Deprecated in NX5.0.0.

To set the value of the expression modify the expression directly using GeometricUtilities::SimpleDraft::DraftAngle and Expression::SetRightHandSide .


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
draftAngleDraft angle
void NXOpen::GeometricUtilities::SimpleDraft::SetDraftAngle ( const char *  draftAngle)

Sets the draft angle

Deprecated:
Deprecated in NX5.0.0.

To set the value of the expression modify the expression directly using GeometricUtilities::SimpleDraft::DraftAngle and Expression::SetRightHandSide .


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
draftAngleDraft angle
void NXOpen::GeometricUtilities::SimpleDraft::SetDraftType ( NXOpen::GeometricUtilities::SimpleDraft::SimpleDraftType  type)

Sets the simple draft type.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
typetype
virtual bool NXOpen::GeometricUtilities::SimpleDraft::Validate ( )
virtual

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.

Returns
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.