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

Represents a NXOpen.Features.ShipDesign.DrawingSheetBuilder . More...

Inheritance diagram for NXOpen.Features.ShipDesign.DrawingSheetBuilder:
NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  LayoutOptions { Horizontal, Vertical }
 Settings to indicate the view layout type by row and column in hroizontal or vertical order. More...
 

Public Member Functions

unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- 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...
 
- 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...
 

Properties

unsafe int ColumnCount [get, set]
 Returns or sets the number of column into which the views should be arranged on the drawing sheet. More...
 
unsafe
NXOpen.Features.ShipDesign.DrawingTemplateBuilder 
DrawingTemplate [get]
 Returns the drawing template builder, which represents a NXOpen.Features.ShipDesign.DrawingTemplateBuilder . More...
 
unsafe
NXOpen.Features.ShipDesign.DrawingSheetBuilder.LayoutOptions 
Layout [get, set]
 Returns or sets the view layout option. More...
 
unsafe int RowCount [get, set]
 Returns or sets the number of rows into which the views should be arranged on the drawing sheet. More...
 
unsafe string SheetName [get, set]
 Returns or sets the drawing sheet name into which the views should be arranged. More...
 
unsafe string SheetScale [get, set]
 Returns or sets the sheet scale More...
 
unsafe
NXOpen.Features.ShipDesign.SectionViewBuilderList 
ViewList [get]
 Returns the section view list 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

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

Represents a NXOpen.Features.ShipDesign.DrawingSheetBuilder .

This class is used to define a drawing sheet in NXOpen.Features.ShipDesign.DrawingPartBuilder , in this case user can define the drawing sheet manually as he want. Originally, we use a NXOpen.Features.ShipDesign.SectionDrawingBuilder class and a list of NXOpen.Features.ShipDesign.SectionViewBuilder and the command will calculate the arrangement (like how many drawing parts/draw sheets need to create and which view in which sheet ) automatically. User can't define which view in which sheet.

In this project we make user has ability to define the arrangement in a tree like
Drawing Part1
|- Drawing Sheet1
|-View1
|-View2
|- Drawing Sheet2
|- View3
|- View4
Drawing Part2
| - Drawing Sheet1
|- View5
|- View6

So we add NXOpen.Features.ShipDesign.DrawingPartBuilder and NXOpen.Features.ShipDesign.DrawingSheetBuilder between them and make them has structure as below: NXOpen.Features.ShipDesign.SectionDrawingBuilder NXOpen.Features.ShipDesign.DrawingPartBuilder NXOpen.Features.ShipDesign.DrawingSheetBuilder NXOpen.Features.ShipDesign.SectionViewBuilder

To create a new instance of this class, use NXOpen.Features.ShipDesign.DrawingPartBuilder.CreateDrawingSheetBuilder

Created in NX12.0.0

Member Enumeration Documentation

Settings to indicate the view layout type by row and column in hroizontal or vertical order.

Enumerator
Horizontal 
Vertical 

Member Function Documentation

unsafe bool NXOpen.Features.ShipDesign.DrawingSheetBuilder.Validate ( )
inline

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.

Created in NX3.0.1

License requirements: None.

Returns
Was self validation successful

Implements NXOpen.GeometricUtilities.IComponentBuilder.

Property Documentation

unsafe int NXOpen.Features.ShipDesign.DrawingSheetBuilder.ColumnCount
getset

Returns or sets the number of column into which the views should be arranged on the drawing sheet.

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") OR nx_ship_mfg_prep ("Ship Manufacturing")

unsafe NXOpen.Features.ShipDesign.DrawingTemplateBuilder NXOpen.Features.ShipDesign.DrawingSheetBuilder.DrawingTemplate
get

Returns the drawing template builder, which represents a NXOpen.Features.ShipDesign.DrawingTemplateBuilder .

Created in NX12.0.0

License requirements: None.

unsafe NXOpen.Features.ShipDesign.DrawingSheetBuilder.LayoutOptions NXOpen.Features.ShipDesign.DrawingSheetBuilder.Layout
getset

Returns or sets the view layout option.

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") OR nx_ship_mfg_prep ("Ship Manufacturing")

unsafe int NXOpen.Features.ShipDesign.DrawingSheetBuilder.RowCount
getset

Returns or sets the number of rows into which the views should be arranged on the drawing sheet.

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") OR nx_ship_mfg_prep ("Ship Manufacturing")

unsafe string NXOpen.Features.ShipDesign.DrawingSheetBuilder.SheetName
getset

Returns or sets the drawing sheet name into which the views should be arranged.

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") OR nx_ship_mfg_prep ("Ship Manufacturing")

unsafe string NXOpen.Features.ShipDesign.DrawingSheetBuilder.SheetScale
getset

Returns or sets the sheet scale

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: nx_ship_basic ("Ship Basic Design") OR nx_ship_detail ("Ship Detail Design") OR nx_ship_mfg_prep ("Ship Manufacturing")

unsafe NXOpen.Features.ShipDesign.SectionViewBuilderList NXOpen.Features.ShipDesign.DrawingSheetBuilder.ViewList
get

Returns the section view list

Created in NX12.0.1

License requirements: None.


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