NXOpen .NET Reference Guide
1899
|
Represents a NXOpen.Tooling.CompDrawingBuilder which is used to create or edit the Component Drawing. More...
Public Types | |
enum | ComponentTypeSelection { All } |
Specifies the type of components. More... | |
enum | DrawingType { None, NonMaster, SelfContained } |
Specifies the drawing type. More... | |
enum | FilterSelection { Type, Drawing, All } |
Specifies the filter of components. More... | |
enum | ProjectionType { FirstAngleProjection, ThirdAngleProjection } |
Specifies the project type. More... | |
Public Member Functions | |
unsafe void | AddCompSheet (NXOpen.NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName) |
Add a new sheet to a component. More... | |
unsafe void | AssignAttribute (NXOpen.NXObject objectTag, string attributeTitle, string attributeValue) |
Assign attribute to object More... | |
unsafe void | CreateAll () |
Creates all drawings. More... | |
unsafe void | CreateCompDrawing (NXOpen.NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName) |
Creates a drawing for a component More... | |
unsafe void | CreateComponentDrawingCopyAttribute (NXOpen.NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName, string[] attributeTitles, string[] attributeValues) |
Creates a drawing for a component and copy attribute to the drawing part More... | |
unsafe void | CreateDrawing (string pName, string dFile, string dName, string templateName) |
Creates a drawing. More... | |
unsafe void | DeleteCompDrawing (NXOpen.NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName) |
Deletes drawings in self-contained part or deletes a master model part with drawings More... | |
unsafe void | DeleteCompSheet (NXOpen.NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName) |
Deletes a sheet from a component. More... | |
unsafe void | DeleteDrawing (string pName, string dFile, string dName, string templateName) |
Deletes a drawing. More... | |
unsafe void | EditCompDrawing (NXOpen.NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName, string oldSheetName) |
Edits a drawing in a component. More... | |
unsafe void | EditDrawing (string pName, string dFile, string dName, string templateName) |
Edits a drawing. More... | |
unsafe void | InitConstructor () |
Initializes the component drawing value. More... | |
unsafe void | OpenCompDrawing (NXOpen.NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName) |
Opens a drawing in a component. More... | |
unsafe void | OpenDrawing (string pName, string dFile, string dName, string templateName) |
Opens a drawing. More... | |
unsafe void | SetDisplayState (int displayState, string layout, NXOpen.NXObject drawingTag) |
Set display state More... | |
Public Member Functions inherited from NXOpen.Builder | |
unsafe NXOpen.NXObject | Commit () |
Commits any edits that have been applied to the builder. More... | |
unsafe void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
unsafe NXOpen.NXObject[] | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
unsafe NXOpen.NXObject | GetObject () |
Returns the object currently being edited by this builder. More... | |
unsafe void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
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 NXOpen.Assemblies.SelectComponent | Component [get] |
Returns the component to create drawing. More... | |
unsafe NXOpen.Tooling.CompDrawingBuilder.ComponentTypeSelection | ComponentType [get, set] |
Returns or sets the component type in mold or die project assembly. More... | |
unsafe string | DrawingFileNamingRule [get, set] |
Returns or sets the naming rule of drawing files. More... | |
unsafe NXOpen.Tooling.CompDrawingBuilder.DrawingType | DrawingFilter [get, set] |
Returns or sets the drawing component drawing filter. More... | |
unsafe string | DrawingSheetNamingRule [get, set] |
Returns or sets the naming rule of drawing sheets. More... | |
unsafe NXOpen.Tooling.CompDrawingBuilder.FilterSelection | Filter [get, set] |
Returns or sets the filter to select component for drawing. More... | |
unsafe bool | IsKeepDrawingOpen [get, set] |
Returns or sets the option whether to keep drawing open. More... | |
unsafe int | Margin [get, set] |
Returns or sets the margin for user defined drawing template. More... | |
unsafe double | MarginForView [get, set] |
Returns or sets the margin for view for user defined drawing template. More... | |
unsafe NXOpen.Tooling.CompDrawingBuilder.ProjectionType | Projection [get, set] |
Returns or sets the drawing projection angle. More... | |
unsafe int | WizardType [get, set] |
Returns or sets the wizard type attribute More... | |
Properties inherited from NXOpen.Builder | |
unsafe NXOpen.PreviewBuilder | PreviewBuilder [get] |
Returns the preview builder subobject. 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... | |
Represents a NXOpen.Tooling.CompDrawingBuilder which is used to create or edit the Component Drawing.
To create a new instance of this class, use NXOpen.Tooling.ToolingDrawingCollection.CreateComponentDrawingBuilder
Default values.
Property | Value |
---|---|
ComponentType |
All |
DrawingFilter |
None |
Filter |
Type |
IsKeepDrawingOpen |
0 |
Margin |
15 |
Projection |
FirstAngleProjection |
Created in NX8.0.0
|
inline |
Add a new sheet to a component.
Created in NX8.5.0
License requirements: None.
component | |
componentPartName | component part name |
drawingFileName | drawing file name |
drawingName | drawing name |
templateName | template name |
|
inline |
Assign attribute to object
Created in NX1847.0.0
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
objectTag | object tag |
attributeTitle | attribute title |
attributeValue | attribute value |
|
inline |
Creates all drawings.
Created in NX8.0.0
License requirements: None.
|
inline |
Creates a drawing for a component
Created in NX8.5.0
Deprecated in NX10.0.0. Use NXOpen.Tooling.CompDrawingBuilder.CreateComponentDrawingCopyAttribute instead.
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
component | |
componentPartName | component part name |
drawingFileName | drawing file name |
drawingName | drawing name |
templateName | template name |
|
inline |
Creates a drawing for a component and copy attribute to the drawing part
Created in NX10.0.0
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
component | |
componentPartName | component part name |
drawingFileName | drawing file name |
drawingName | drawing name |
templateName | template name |
attributeTitles | attribute titles |
attributeValues | attribute values |
|
inline |
Creates a drawing.
Created in NX8.0.0
Deprecated in NX8.5.0. Use NXOpen.Tooling.CompDrawingBuilder.CreateCompDrawing instead.
License requirements: None.
pName | |
dFile | |
dName | |
templateName |
|
inline |
Deletes drawings in self-contained part or deletes a master model part with drawings
Created in NX8.5.0
License requirements: None.
component | |
componentPartName | component part name |
drawingFileName | drawing file name |
drawingName | drawing name |
templateName | template name |
|
inline |
Deletes a sheet from a component.
Created in NX8.5.0
License requirements: None.
component | |
componentPartName | component part name |
drawingFileName | drawing file name |
drawingName | drawing name |
templateName | template name |
|
inline |
Deletes a drawing.
Created in NX8.0.0
Deprecated in NX8.5.0. Use NXOpen.Tooling.CompDrawingBuilder.DeleteCompDrawing instead.
License requirements: None.
pName | |
dFile | |
dName | |
templateName |
|
inline |
Edits a drawing in a component.
Created in NX8.5.0
License requirements: None.
component | |
componentPartName | component part name |
drawingFileName | drawing file name |
drawingName | drawing name |
templateName | template name |
oldSheetName | old sheet name |
|
inline |
Edits a drawing.
Created in NX8.0.0
Deprecated in NX8.5.0. Use NXOpen.Tooling.CompDrawingBuilder.EditCompDrawing instead.
License requirements: None.
pName | |
dFile | |
dName | |
templateName |
|
inline |
Initializes the component drawing value.
Created in NX8.0.0
License requirements: None.
|
inline |
Opens a drawing in a component.
Created in NX8.5.0
License requirements: None.
component | |
componentPartName | component part name |
drawingFileName | drawing file name |
drawingName | drawing name |
templateName | template name |
|
inline |
Opens a drawing.
Created in NX8.0.0
Deprecated in NX8.5.0. Use NXOpen.Tooling.CompDrawingBuilder.OpenCompDrawing instead.
License requirements: None.
pName | |
dFile | |
dName | |
templateName |
|
inline |
Set display state
Created in NX1847.0.0
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
displayState | display state |
layout | layout to open |
drawingTag |
|
get |
Returns the component to create drawing.
Created in NX8.0.0
License requirements: None.
|
getset |
Returns or sets the component type in mold or die project assembly.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
|
getset |
Returns or sets the naming rule of drawing files.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
|
getset |
Returns or sets the drawing component drawing filter.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
|
getset |
Returns or sets the naming rule of drawing sheets.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
|
getset |
Returns or sets the filter to select component for drawing.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
|
getset |
Returns or sets the option whether to keep drawing open.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
|
getset |
Returns or sets the margin for user defined drawing template.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
|
getset |
Returns or sets the margin for view for user defined drawing template.
Created in NX8.5.0
License requirements to get this property: None.
License requirements to set this property: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
|
getset |
Returns or sets the drawing projection angle.
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
|
getset |
Returns or sets the wizard type attribute
Created in NX8.5.0
License requirements to get this property: None.
License requirements to set this property: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")