NXOpen .NET Reference  12.0.0
Public Types | Properties | List of all members
NXOpen.SketchAlignmentConstraint Class Reference

Represents a sketch alignment constraint More...

Inheritance diagram for NXOpen.SketchAlignmentConstraint:
NXOpen.SketchGeometricConstraint NXOpen.SketchConstraint NXOpen.DisplayableObject NXOpen.NXObject NXOpen.IFitTo NXOpen.INXObject NXOpen.INXObject

Public Types

enum  Type { Horizontal, Vertical }
 Represents the alignment type of the constraint More...
 

Properties

unsafe
NXOpen.SketchAlignmentConstraint.Type 
AlignmentType [get]
 Returns the alignment type of the constraint. More...
 
- Properties inherited from NXOpen.SketchGeometricConstraint
unsafe bool IsInferred [get]
 Returns a flag indicating whether the constraint is an inferred constraint More...
 
- Properties inherited from NXOpen.SketchConstraint
unsafe NXOpen.Sketch.ConstraintType ConstraintType [get]
 Returns the constraint's type More...
 
- Properties inherited from NXOpen.DisplayableObject
unsafe int Color [get, set]
 Returns or sets the color of the object. More...
 
unsafe bool IsBlanked [get]
 Returns the blank status of this object. More...
 
unsafe int Layer [get, set]
 Returns or sets the layer that the object is in. More...
 
unsafe
NXOpen.DisplayableObject.ObjectFont 
LineFont [get, set]
 Returns or sets the line font of the object. More...
 
unsafe
NXOpen.DisplayableObject.ObjectWidth 
LineWidth [get, set]
 Returns or sets the line width of the object. More...
 
unsafe NXOpen.Point3d NameLocation [get]
 Returns the location of the object's name. More...
 
- Properties inherited from NXOpen.NXObject
unsafe bool IsOccurrence [get]
 Returns whether this object is an occurrence or not. More...
 
unsafe string JournalIdentifier [get]
 Returns the identifier that would be recorded in a journal for this object. More...
 
unsafe string Name [get]
 Returns the custom name of the object. More...
 
unsafe NXOpen.Assemblies.Component OwningComponent [get]
 Returns the owning component, if this object is an occurrence. More...
 
unsafe NXOpen.BasePart OwningPart [get]
 Returns the owning part of this object More...
 
unsafe NXOpen.INXObject Prototype [get]
 Returns the prototype of this object if it is an occurrence. More...
 
- Properties inherited from NXOpen.INXObject
bool IsOccurrence [get]
 Returns whether this object is an occurrence or not. More...
 
string JournalIdentifier [get]
 Returns the identifier that would be recorded in a journal for this object. More...
 
string Name [get]
 Returns the custom name of the object. More...
 
NXOpen.Assemblies.Component OwningComponent [get]
 Returns the owning component, if this object is an occurrence. More...
 
NXOpen.BasePart OwningPart [get]
 Returns the owning part of this object More...
 
NXOpen.INXObject Prototype [get]
 Returns the prototype of this object if it is an occurrence. More...
 

Additional Inherited Members

- Public Member Functions inherited from NXOpen.SketchGeometricConstraint
unsafe
NXOpen.Sketch.ConstraintGeometry[] 
GetGeometry ()
 Returns the geometry associated with the constraint More...
 

Detailed Description

Represents a sketch alignment constraint

Use NXOpen.SketchConstraintBuilder to create an instance of this class.

Created in NX11.0.0

Member Enumeration Documentation

Represents the alignment type of the constraint

Enumerator
Horizontal 

The two vertices are horizontally aligned

Vertical 

The two vertices are vertically aligned

Property Documentation

unsafe NXOpen.SketchAlignmentConstraint.Type NXOpen.SketchAlignmentConstraint.AlignmentType
get

Returns the alignment type of the constraint.

This property cannot be set directly. Alignment type can only be changed by deleting and re-creating the constraint via the SketchConstraintBuilder

Created in NX11.0.0

License requirements: None.


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