public interface DrawingPartBuilder extends TaggedObject, IComponentBuilder
DrawingPartBuilder
.
This class is used to define a drawing part in Ship Section Drawing command, in this case user can define
the drawing part manually as he want.
Originally, we use a SectionDrawingBuilder
class and a list of 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 |- View6So we add
DrawingPartBuilder
and DrawingSheetBuilder
between them and make them has structure as below:
SectionDrawingBuilder
DrawingPartBuilder
DrawingSheetBuilder
SectionViewBuilder
SectionDrawingBuilder.createDrawingPartBuilder(nxopen.Part)
Modifier and Type | Method and Description |
---|---|
DrawingSheetBuilder |
createDrawingSheetBuilder(DrawingSheet drawingSheet)
Creates a
DrawingSheetBuilder
License requirements: nx_ship_drafting ("Ship Drafting") Created in NX12.0.0 |
String |
drawingName()
Returns the drawing name
License requirements: None. |
DrawingSheetBuilderList |
drawingSheetList()
Returns the drawing sheet list
License requirements: None. |
void |
setDrawingName(String drawingName)
License requirements: nx_ship_drafting ("Ship Drafting") . |
printTestData, printTestData, tag, tagValue
validate
String drawingName() throws NXException, RemoteException
NXException
RemoteException
void setDrawingName(String drawingName) throws NXException, RemoteException
drawingName
- NXException
RemoteException
DrawingSheetBuilder createDrawingSheetBuilder(DrawingSheet drawingSheet) throws NXException, RemoteException
DrawingSheetBuilder
drawingSheet
- NXException
RemoteException
DrawingSheetBuilderList drawingSheetList() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.