NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.LineCollection Class Reference

Represents a collection of lines. More...

Inheritance diagram for NXOpen.LineCollection:

Public Member Functions

NXOpen.Line[] ToArray ()
 Returns an array of NXOpen.Line objects. More...
 
unsafe NXOpen.Line FindObject (string journalIdentifier)
 Finds the NXOpen.Line with the given identifier as recorded in a journal. More...
 
unsafe NXOpen.Line CreateFaceAxis (NXOpen.IParameterizedSurface face, NXOpen.SmartObject.UpdateOption updateOption)
 Create a Axis line base on a Cylider, Cone, Torus or Revolve face More...
 
unsafe NXOpen.Line CreateFaceAxisNoParentLoadRequired (NXOpen.IParameterizedSurface face, NXOpen.SmartObject.UpdateOption updateOption)
 Create a Axis line base on a Cylider, Cone, Torus or Revolve face. More...
 
unsafe NXOpen.Line CreateFaceAxisNoExtension (NXOpen.IParameterizedSurface face, NXOpen.SmartObject.UpdateOption updateOption)
 Create a Axis line base on a Cylider, Cone, Torus or Revolve face. More...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of lines.

To obtain an instance of this class, refer to NXOpen.BasePart

Created in NX3.0.0

Member Function Documentation

unsafe NXOpen.Line NXOpen.LineCollection.CreateFaceAxis ( NXOpen.IParameterizedSurface  face,
NXOpen.SmartObject.UpdateOption  updateOption 
)

Create a Axis line base on a Cylider, Cone, Torus or Revolve face

Created in NX4.0.0

License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")

Parameters
faceface
updateOption
Returns
unsafe NXOpen.Line NXOpen.LineCollection.CreateFaceAxisNoExtension ( NXOpen.IParameterizedSurface  face,
NXOpen.SmartObject.UpdateOption  updateOption 
)

Create a Axis line base on a Cylider, Cone, Torus or Revolve face.

Do not extend the line.

Created in NX7.5.0

License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")

Parameters
faceface
updateOption
Returns
unsafe NXOpen.Line NXOpen.LineCollection.CreateFaceAxisNoParentLoadRequired ( NXOpen.IParameterizedSurface  face,
NXOpen.SmartObject.UpdateOption  updateOption 
)

Create a Axis line base on a Cylider, Cone, Torus or Revolve face.

If the parent (source) part is not the same part that the axis is created in, the parent part is not fully loaded during the creation.

Created in NX6.0.0

License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT")

Parameters
faceface
updateOption
Returns
override int NXOpen.LineCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
protected

Advances the enumerator to the next element of the collection.

unsafe NXOpen.Line NXOpen.LineCollection.FindObject ( string  journalIdentifier)

Finds the NXOpen.Line with the given identifier as recorded in a journal.

An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.

An exception will be thrown if no object can be found with the given journal identifier.

Created in NX3.0.0

License requirements: None.

Parameters
journalIdentifierJournal identifier of the line
Returns
NXOpen.Line [] NXOpen.LineCollection.ToArray ( )

Returns an array of NXOpen.Line objects.

Property Documentation

Tag NXOpen.LineCollection.Tag
get

Returns the tag of this object.


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