NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Properties | List of all members
NXOpen.DxfdwgCreator Class Reference

Represents a NXOpen.DxfdwgCreator to be used when exporting the DXF/DWG Data This class is created using NXOpen.DexManager . More...

Inheritance diagram for NXOpen.DxfdwgCreator:
NXOpen.DexBuilder NXOpen.Builder NXOpen.GeometricUtilities.IComponentBuilder

Public Types

enum  ExportFromOption { DisplayPart, ExistingPart }
 Exprot From option More...
 
enum  OutputFileTypeOption { Dxf, Dwg }
 Output File Type option More...
 
enum  ExportAsOption { TwoD, ThreeD, Cgm }
 Exprot As option More...
 
enum  OutputToOption { Modeling, Drafting }
 Output To Option More...
 
enum  ExportDataOption { Modeling, Drawing }
 Exprot Data option More...
 
enum  AutoCADRevisionOptions {
  R12, R13, R14, R2000,
  R2004, R2005, R2007, R2010,
  R2013
}
 AutoCad Revision option More...
 
enum  ExportScaleOptions { Default, BaseView, UserSpecified }
 Export Scale option More...
 
enum  WidthfactorMethodOptions { AutomaticCalculation, UseSameAsNXAspectratio, UseValueSpecifiedInMappingFile, ScaleNXAspectratioWithSpecifiedValue }
 AutoCad widthfactor calculation options More...
 
enum  ExportFacesAsOptions { Facets, PolylineMesh }
 Export Faces As option More...
 
enum  ExportSplinesAsOptions { Spline, Polyline2D, Polyline3D }
 Export Faces As option More...
 

Public Member Functions

unsafe void SaveSettings (string filename)
 Saves the save settings - this will save the settings to a file sepcified More...
 

Properties

unsafe
NXOpen.DxfdwgCreator.AutoCADRevisionOptions 
AutoCADRevision [get, set]
 Returns or sets the autocad revision - this will decide the revision of resultant autocad file. More...
 
unsafe string CrossHatchMappingFile [get, set]
 Returns or sets the CrossHatchMappingFile command - definition file for cross hatch mapping More...
 
unsafe string DrawingList [get, set]
 Returns or sets the drawing list - comma separated list of drawings to export More...
 
unsafe
NXOpen.DxfdwgCreator.ExportAsOption 
ExportAs [get, set]
 Returns or sets the export as - this option will determine if data needs to be proprocessed as 2d or cgm before exporting to DXF/DWG More...
 
unsafe
NXOpen.DxfdwgCreator.ExportDataOption 
ExportData [get, set]
 Returns or sets the export data option will determine if model data data or drawing data needs to be exported More...
 
unsafe
NXOpen.DxfdwgCreator.ExportFacesAsOptions 
ExportFacesAs [get, set]
 Returns or sets the export faces as - this will determine if the faces should be exported as facets or polyline mesh More...
 
unsafe
NXOpen.DxfdwgCreator.ExportFromOption 
ExportFrom [get, set]
 Returns or sets the export from - this option will determine if data from display part or existing part is exported More...
 
unsafe
NXOpen.DxfdwgCreator.ExportScaleOptions 
ExportScaleOption [get, set]
 Returns or sets the export scale Options - this will determine if the scale should be used from Default, Base View or User specified More...
 
unsafe string ExportScaleValue [get, set]
 Returns or sets the scale value - this Scale is used during Model space data export More...
 
unsafe NXOpen.ObjectSelector ExportSelectionBlock [get]
 Returns the export selection block - the object selection will be done by this block. More...
 
unsafe
NXOpen.DxfdwgCreator.ExportSplinesAsOptions 
ExportSplinesAs [get, set]
 Returns or sets the export Spline as - this will determine if the spline should be exported as spline, 2D ployline or 3D polyline More...
 
unsafe bool FileSaveFlag [get, set]
 Returns or sets the file save flag - this should be set to false if doing File Export More...
 
unsafe bool FlattenAssembly [get, set]
 Returns or sets the flatten assembly - if set to true then assembly structure will not be retained More...
 
unsafe string InputFile [get, set]
 Returns or sets the input file - name of file which is being exported. More...
 
unsafe string LayerMask [get, set]
 Returns or sets the layerMask - You can limit the data you export by only specifying the layers that contain the appropriate information. More...
 
unsafe string LineFontMappingFile [get, set]
 Returns or sets the LineFontMappingFile command - definition file for cross hatch mapping More...
 
unsafe NXOpen.ObjectTypeSelector ObjectTypes [get]
 Returns the objectTypes - this is subcomponent being used to set object types filters. More...
 
unsafe string OutputFile [get, set]
 Returns or sets the output file - the name of dxf/dwg file where output is being written More...
 
unsafe
NXOpen.DxfdwgCreator.OutputFileTypeOption 
OutputFileType [get, set]
 Returns or sets the output file type - this option determines the format of output file, It can either be dxf or dwg. More...
 
unsafe
NXOpen.DxfdwgCreator.OutputToOption 
OutputTo [get, set]
 Returns or sets the output to - where to put data in model world or layout More...
 
unsafe bool OverlappingEntities [get, set]
 Returns or sets the overlapping entities - if set to true the overlapping entities will be removed before exporting More...
 
unsafe string SettingsFile [get, set]
 Returns or sets the settings file - The definition file to read default options More...
 
unsafe int SurfaceDesignU [get, set]
 Returns or sets the surface design u - this will set the surface density along U direction. More...
 
unsafe int SurfaceDesignV [get, set]
 Returns or sets the surface design V - this will set the surface density along V direction. More...
 
unsafe string TextFontMappingFile [get, set]
 Returns or sets the TextFontMappingFile command - definition file for text font mapping More...
 
unsafe bool ViewEditMode [get, set]
 Returns or sets the view edit mode - if set to true this will include view modified/view erase data in the resultant autocad file. More...
 
unsafe string ViewList [get, set]
 Returns or sets the view list - comma separated list of views to export More...
 
unsafe
NXOpen.DxfdwgCreator.WidthfactorMethodOptions 
WidthFactorMode [get, set]
 Returns or sets the autocad widthfactor calculation method - this will decide the acad widthfactor method to be used. More...
 
- Properties inherited from NXOpen.DexBuilder
unsafe bool ProcessHoldFlag [get, set]
 Returns or sets the process hold flag - set to true if user wants to wait until transaltion process gets completed More...
 

Detailed Description

Represents a NXOpen.DxfdwgCreator to be used when exporting the DXF/DWG Data This class is created using NXOpen.DexManager .

NULL object will be returned from Commit(). The workpart should be present in the session before calling commit().

To create a new instance of this class, use NXOpen.DexManager.CreateDxfdwgCreator

Default values.

Property Value

AutoCADRevision

R2007

ExportAs

TwoD

ExportFacesAs

Facets

ExportFrom

DisplayPart

ExportSplinesAs

Spline

FlattenAssembly

0

OutputFileType

Dxf

OutputTo

Modeling

OverlappingEntities

0

ProcessHoldFlag

0

SurfaceDesignU

8

SurfaceDesignV

8

ViewEditMode

0

Created in NX6.0.0

Member Enumeration Documentation

AutoCad Revision option

Enumerator
R12 

output autocad version R12

R13 

output autocad version R13

R14 

output autocad version R14

R2000 

output autocad version 2000

R2004 

output autocad version 2004

R2005 

output autocad version 2005

R2007 

output autocad version 2007

R2010 

output autocad version 2010

R2013 

output autocad version 2013

Exprot As option

Enumerator
TwoD 

export as 2d data

ThreeD 

export as3d data

Cgm 

export as cgm

Exprot Data option

Enumerator
Modeling 

export model data

Drawing 

export drawing data

Export Faces As option

Enumerator
Facets 

export faces as facets

PolylineMesh 

export faces as polyline mesh

Exprot From option

Enumerator
DisplayPart 

export data from displayed part

ExistingPart 

export data from existing part which is on disk

Export Scale option

Enumerator
Default 

Default scale(1:1)

BaseView 

Base View Scale

UserSpecified 

User specified Scale

Export Faces As option

Enumerator
Spline 
Polyline2D 

export faces as facets

Polyline3D 

export faces as polyline mesh

Output File Type option

Enumerator
Dxf 

export data to DXF format

Dwg 

export data to DWG format

Output To Option

Enumerator
Modeling 

output to modeling

Drafting 

output to drafting

AutoCad widthfactor calculation options

Enumerator
AutomaticCalculation 
UseSameAsNXAspectratio 
UseValueSpecifiedInMappingFile 
ScaleNXAspectratioWithSpecifiedValue 

Member Function Documentation

unsafe void NXOpen.DxfdwgCreator.SaveSettings ( string  filename)

Saves the save settings - this will save the settings to a file sepcified

Created in NX6.0.0

License requirements: None.

Parameters
filename

Property Documentation

unsafe NXOpen.DxfdwgCreator.AutoCADRevisionOptions NXOpen.DxfdwgCreator.AutoCADRevision
getset

Returns or sets the autocad revision - this will decide the revision of resultant autocad file.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgCreator.CrossHatchMappingFile
getset

Returns or sets the CrossHatchMappingFile command - definition file for cross hatch mapping

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgCreator.DrawingList
getset

Returns or sets the drawing list - comma separated list of drawings to export

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgCreator.ExportAsOption NXOpen.DxfdwgCreator.ExportAs
getset

Returns or sets the export as - this option will determine if data needs to be proprocessed as 2d or cgm before exporting to DXF/DWG

Created in NX8.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgCreator.ExportDataOption NXOpen.DxfdwgCreator.ExportData
getset

Returns or sets the export data option will determine if model data data or drawing data needs to be exported

Created in NX8.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgCreator.ExportFacesAsOptions NXOpen.DxfdwgCreator.ExportFacesAs
getset

Returns or sets the export faces as - this will determine if the faces should be exported as facets or polyline mesh

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgCreator.ExportFromOption NXOpen.DxfdwgCreator.ExportFrom
getset

Returns or sets the export from - this option will determine if data from display part or existing part is exported

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgCreator.ExportScaleOptions NXOpen.DxfdwgCreator.ExportScaleOption
getset

Returns or sets the export scale Options - this will determine if the scale should be used from Default, Base View or User specified

Created in NX9.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgCreator.ExportScaleValue
getset

Returns or sets the scale value - this Scale is used during Model space data export

Created in NX9.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.ObjectSelector NXOpen.DxfdwgCreator.ExportSelectionBlock
get

Returns the export selection block - the object selection will be done by this block.

Created in NX6.0.0

License requirements: None.

unsafe NXOpen.DxfdwgCreator.ExportSplinesAsOptions NXOpen.DxfdwgCreator.ExportSplinesAs
getset

Returns or sets the export Spline as - this will determine if the spline should be exported as spline, 2D ployline or 3D polyline

Created in NX8.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgCreator.FileSaveFlag
getset

Returns or sets the file save flag - this should be set to false if doing File Export

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgCreator.FlattenAssembly
getset

Returns or sets the flatten assembly - if set to true then assembly structure will not be retained

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgCreator.InputFile
getset

Returns or sets the input file - name of file which is being exported.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgCreator.LayerMask
getset

Returns or sets the layerMask - You can limit the data you export by only specifying the layers that contain the appropriate information.

You can enter layer numbers or layers ranges separated by commas. For example, 1, 5, 88-109,190-199, 201, 206-210 is a legal specification. The default setting for Layers to Export is 1-256.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgCreator.LineFontMappingFile
getset

Returns or sets the LineFontMappingFile command - definition file for cross hatch mapping

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.ObjectTypeSelector NXOpen.DxfdwgCreator.ObjectTypes
get

Returns the objectTypes - this is subcomponent being used to set object types filters.

This will be used to filter objects based on the types

Created in NX6.0.0

License requirements: None.

unsafe string NXOpen.DxfdwgCreator.OutputFile
getset

Returns or sets the output file - the name of dxf/dwg file where output is being written

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgCreator.OutputFileTypeOption NXOpen.DxfdwgCreator.OutputFileType
getset

Returns or sets the output file type - this option determines the format of output file, It can either be dxf or dwg.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgCreator.OutputToOption NXOpen.DxfdwgCreator.OutputTo
getset

Returns or sets the output to - where to put data in model world or layout

Created in NX8.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgCreator.OverlappingEntities
getset

Returns or sets the overlapping entities - if set to true the overlapping entities will be removed before exporting

Created in NX8.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgCreator.SettingsFile
getset

Returns or sets the settings file - The definition file to read default options

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe int NXOpen.DxfdwgCreator.SurfaceDesignU
getset

Returns or sets the surface design u - this will set the surface density along U direction.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe int NXOpen.DxfdwgCreator.SurfaceDesignV
getset

Returns or sets the surface design V - this will set the surface density along V direction.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgCreator.TextFontMappingFile
getset

Returns or sets the TextFontMappingFile command - definition file for text font mapping

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgCreator.ViewEditMode
getset

Returns or sets the view edit mode - if set to true this will include view modified/view erase data in the resultant autocad file.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgCreator.ViewList
getset

Returns or sets the view list - comma separated list of views to export

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgCreator.WidthfactorMethodOptions NXOpen.DxfdwgCreator.WidthFactorMode
getset

Returns or sets the autocad widthfactor calculation method - this will decide the acad widthfactor method to be used.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.


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