NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.Layout2d.LayoutDrawingSheetCollection Class Reference

Represents a collection of NXOpen.Layout2d.LayoutDrawingSheet s. More...

Inheritance diagram for NXOpen.Layout2d.LayoutDrawingSheetCollection:
NXOpen.TaggedObjectCollection NXOpen.Utilities.NXRemotableObject IEnumerable IMessageSink

Public Member Functions

unsafe
NXOpen.Layout2d.ConvertLayoutToSheetBuilder 
CreateConvertLayoutToSheetBuilder ()
 Creates a NXOpen.Layout2d.ConvertLayoutToSheetBuilder More...
 
unsafe
NXOpen.Layout2d.ConvertSheetToLayoutBuilder 
CreateConvertSheetToLayoutBuilder ()
 Creates a NXOpen.Layout2d.ConvertSheetToLayoutBuilder More...
 
unsafe
NXOpen.Layout2d.LayoutDrawingSheetBuilder 
CreateLayoutDrawingSheetBuilder (NXOpen.Layout2d.LayoutDrawingSheet layoutDrawingSheet)
 Creates a NXOpen.Layout2d.LayoutDrawingSheetBuilder More...
 
unsafe
NXOpen.Layout2d.LayoutDrawingSheet 
FindObject (string journalIdentifier)
 Finds the NXOpen.Layout2d.LayoutDrawingSheet with the given identifier as recorded in a journal. More...
 
unsafe
NXOpen.Layout2d.LayoutDrawingSheet 
InsertSheet (string name, NXOpen.Drawings.DrawingSheet.Unit units, double numerator, double denominator, NXOpen.Drawings.DrawingSheet.ProjectionAngleType projectionAngle)
 Inserts a layout drawing sheet into a part. More...
 
NXOpen.Layout2d.LayoutDrawingSheet[] ToArray ()
 Returns an array of NXOpen.Layout2d.LayoutDrawingSheet objects. More...
 
- Public Member Functions inherited from NXOpen.TaggedObjectCollection
IEnumerator GetEnumerator ()
 Returns an enumerator that iterates through a collection. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 
- Protected Member Functions inherited from NXOpen.TaggedObjectCollection
new void initialize ()
 <exclude> More...
 
- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> More...
 

Properties

unsafe
NXOpen.Layout2d.LayoutDrawingSheet 
CurrentDrawingSheet [get]
 Returns the currently opened layout drawing sheet. More...
 
Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of NXOpen.Layout2d.LayoutDrawingSheet s.

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

Created in NX12.0.0

Member Function Documentation

unsafe NXOpen.Layout2d.ConvertLayoutToSheetBuilder NXOpen.Layout2d.LayoutDrawingSheetCollection.CreateConvertLayoutToSheetBuilder ( )
inline

Creates a NXOpen.Layout2d.ConvertLayoutToSheetBuilder

Created in NX12.0.0

License requirements: nx_layout ("NX Layout")

Returns
the convert layout to sheet builder
unsafe NXOpen.Layout2d.ConvertSheetToLayoutBuilder NXOpen.Layout2d.LayoutDrawingSheetCollection.CreateConvertSheetToLayoutBuilder ( )
inline

Creates a NXOpen.Layout2d.ConvertSheetToLayoutBuilder

Created in NX12.0.0

License requirements: nx_layout ("NX Layout")

Returns
the convert sheet to layout builder
unsafe NXOpen.Layout2d.LayoutDrawingSheetBuilder NXOpen.Layout2d.LayoutDrawingSheetCollection.CreateLayoutDrawingSheetBuilder ( NXOpen.Layout2d.LayoutDrawingSheet  layoutDrawingSheet)
inline

Creates a NXOpen.Layout2d.LayoutDrawingSheetBuilder

Created in NX12.0.0

License requirements: nx_layout ("NX Layout")

Parameters
layoutDrawingSheetreserved for future use, set to 0
Returns
the layout drawing sheet builder
override int NXOpen.Layout2d.LayoutDrawingSheetCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
inlineprotectedvirtual

Advances the enumerator to the next element of the collection.

Implements NXOpen.TaggedObjectCollection.

unsafe NXOpen.Layout2d.LayoutDrawingSheet NXOpen.Layout2d.LayoutDrawingSheetCollection.FindObject ( string  journalIdentifier)
inline

Finds the NXOpen.Layout2d.LayoutDrawingSheet 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 NX12.0.0

License requirements: nx_layout ("NX Layout")

Parameters
journalIdentifierIdentifier of the Layout drawing sheet you want
Returns
Layout drawing sheet with this identifier
unsafe NXOpen.Layout2d.LayoutDrawingSheet NXOpen.Layout2d.LayoutDrawingSheetCollection.InsertSheet ( string  name,
NXOpen.Drawings.DrawingSheet.Unit  units,
double  numerator,
double  denominator,
NXOpen.Drawings.DrawingSheet.ProjectionAngleType  projectionAngle 
)
inline

Inserts a layout drawing sheet into a part.

Created in NX12.0.0

License requirements: nx_layout ("NX Layout")

Parameters
nameLayout drawing sheet name
unitsUnit of sheet size
numeratorNumerator of the scale of layout
denominatorDenominator of the scale of layout
projectionAngleProjection angle
Returns
the inserted layout drawing sheet
NXOpen.Layout2d.LayoutDrawingSheet [] NXOpen.Layout2d.LayoutDrawingSheetCollection.ToArray ( )
inline

Returns an array of NXOpen.Layout2d.LayoutDrawingSheet objects.

Property Documentation

unsafe NXOpen.Layout2d.LayoutDrawingSheet NXOpen.Layout2d.LayoutDrawingSheetCollection.CurrentDrawingSheet
get

Returns the currently opened layout drawing sheet.

This will return a null reference (Nothing in Visual Basic) if no layout drawing sheet is opened.

Created in NX12.0.2

License requirements: nx_layout ("NX Layout")

Tag NXOpen.Layout2d.LayoutDrawingSheetCollection.Tag
get

Returns the tag of this object.


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