NXOpen .NET Reference Guide
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Properties | List of all members
NXOpen.Features.GeometricConstraintData Class Reference

Represents Geometric Constraint Data class. More...

Inheritance diagram for NXOpen.Features.GeometricConstraintData:
NXOpen.TaggedObject NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  AutoConstraintType { None, Tangent, Curvature, CurvatureDerivative }
 Automatic constraint types More...
 
enum  ParameterDirection { Iso, Section, Normal, Perpendicular }
 Parameter direction to be used for creation of the constraint at a point which is attached to an object, for example a curve or a face More...
 

Properties

unsafe
NXOpen.Features.GeometricConstraintData.ParameterDirection 
AutomaticConstraintDirection [get, set]
 Returns or sets the automatic constraint direction type. More...
 
unsafe
NXOpen.Features.GeometricConstraintData.AutoConstraintType 
AutomaticConstraintType [get, set]
 Returns or sets the automatic constraint type More...
 
unsafe bool CanInferConstraintFromAttachmentParent [get, set]
 Returns or sets the flag indicating if a constraint can be inferred from the parent of the attachment object of the point. More...
 
unsafe NXOpen.Offset Curvature [get, set]
 Returns or sets the curvature. More...
 
unsafe NXOpen.Offset CurvatureDerivative [get, set]
 Returns or sets the curvature derivative. More...
 
unsafe bool HasSymmetricModelingConstraint [get, set]
 Returns or sets the flag indicating if tangent direction is used for creating symmetric modeling constraint. More...
 
unsafe NXOpen.Point Point [get, set]
 Returns or sets the point. More...
 
unsafe NXOpen.Direction TangentDirection [get, set]
 Returns or sets the tangent direction. More...
 
unsafe NXOpen.Scalar TangentMagnitude [get, set]
 Returns or sets the tangent magnitude. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents Geometric Constraint Data class.

This class acts as a container of various types of geometric constraints such as position(G0), tangent(G1), tangent magnitude, curvature(G2) and curvature derivative(G3). An array of objects of this class may be used to create a curve. Not all features support all types of constraints. For details of the supported types by a feature, refer to feature documentation. Position is a minimum required element of NXOpen.Features.GeometricConstraintData.

NXOpen.Features.GeometricConstraintData can be specified as automatic or fixed type.

Automatic type -

When a point (G0) is attached to an object such as curve or a face, constraint types such as tangent, curvature or curvature derivative can be automatically inferred from the attached object. In this case the tangent direction is determined by some scheme decided by the feature. To specify automatic type NXOpen.Features.GeometricConstraintData.AutoConstraintType and NXOpen.Features.GeometricConstraintData.ParameterDirection are necessary.

Fixed type -

To specify NXOpen.Features.GeometricConstraintData as a fixed type, the actual objects representing different types of constraints such as NXOpen.Direction for tangent, NXOpen.Scalar for tangent magnitude or NXOpen.Offset for curvature or curvature derivative are specified.

To create a new instance of this class, use NXOpen.Features.GeometricConstraintDataManager.CreateGeometricConstraintData

Created in NX5.0.0

Member Enumeration Documentation

Automatic constraint types

Enumerator
None 

No automatic constraint

Tangent 

Tangent(G1)

Curvature 

Curvature(G2)

CurvatureDerivative 

Curvature derivative(G3)

Parameter direction to be used for creation of the constraint at a point which is attached to an object, for example a curve or a face

Enumerator
Iso 

Iso parameter

Section 

General section if point is attached to face

Normal 

Normal

Perpendicular 

Perpendicular to curve on face or edge

Property Documentation

unsafe NXOpen.Features.GeometricConstraintData.ParameterDirection NXOpen.Features.GeometricConstraintData.AutomaticConstraintDirection
getset

Returns or sets the automatic constraint direction type.

For a constraint on a face it is necessary to specify parameter direction.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Features.GeometricConstraintData.AutoConstraintType NXOpen.Features.GeometricConstraintData.AutomaticConstraintType
getset

Returns or sets the automatic constraint type

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Features.GeometricConstraintData.CanInferConstraintFromAttachmentParent
getset

Returns or sets the flag indicating if a constraint can be inferred from the parent of the attachment object of the point.

E.g. if point is attached to an edge or a curve on face, then infer constraint from the face of the edge or the curve.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Offset NXOpen.Features.GeometricConstraintData.Curvature
getset

Returns or sets the curvature.

Used only when automatic constraint type is none.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Offset NXOpen.Features.GeometricConstraintData.CurvatureDerivative
getset

Returns or sets the curvature derivative.

Used only when automatic constraint type is none

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Features.GeometricConstraintData.HasSymmetricModelingConstraint
getset

Returns or sets the flag indicating if tangent direction is used for creating symmetric modeling constraint.

If true, only tangent direction object is used for constraint evaluation.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Point NXOpen.Features.GeometricConstraintData.Point
getset

Returns or sets the point.

Point is the minimum required data to create a constraint.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Direction NXOpen.Features.GeometricConstraintData.TangentDirection
getset

Returns or sets the tangent direction.

Used only when automatic constraint type is none.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Scalar NXOpen.Features.GeometricConstraintData.TangentMagnitude
getset

Returns or sets the tangent magnitude.

Used only when automatic constraint type is none.

Created in NX5.0.0

License requirements to get this property: None.

License requirements to set this property: None.


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