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

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

Inheritance diagram for NXOpen.DxfdwgImporter:
NXOpen.BaseImporter NXOpen.DexBuilder NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

enum  AspectRatioOptions { AutomaticCalculation, UseSameAsACADWidthFactor, UseValueSpecifiedInMappingFile, ScaleACADWidthFactorWithSpecifiedValue }
 NX Aspect ratio calculation options More...
 
enum  ConvLayoutsAs { All, SelectedInPreview }
 Convert latouts option More...
 
enum  FacetImportAs { Jt, Convergent }
 DXFDWG Facet Import options More...
 
enum  ImportBlocksAs { Group, CustomSymbol, Part, NX2DComponent }
 Import Blocks as option option More...
 
enum  ImportCurvesAs { SketchCurves, Curves }
 Import curves as option More...
 
enum  ImportDimensionsAs { Real, Group }
 Import Dimensions as option option More...
 
enum  ImportPolylinesAs { Splines, ArcLines }
 Import Polylines as option More...
 
enum  ImportToEnum { Work, New }
 Import To option More...
 
enum  ProcessingOrderAs { Alphabetical, ObjectCount }
 Processing Oder of non numeric layers More...
 
enum  SendLayoutsAs { ImportedView, DrawingView }
 Send Layouts data to option More...
 
enum  SendModelDataAs { Modeling, DrawingView, DrawingSheet }
 Send Model data to option More...
 
enum  UnitsEnum { SameAsTemplate, Metric, English }
 Import To option More...
 
enum  WorkflowAs { Drawing, ThreeD }
 DXFDWG Import Workflow options More...
 
- Public Types inherited from NXOpen.BaseImporter
enum  Mode { NativeFileSystem, Teamcenter }
 Input file mode More...
 

Public Member Functions

unsafe void SaveSettings (string filename)
 Saves the save settings - this will save the settings to a file specified More...
 
- Public Member Functions inherited from NXOpen.BaseImporter
unsafe NXOpen.BaseImporter.Mode GetMode ()
 Get mode - native/managed More...
 
unsafe void SetMode (NXOpen.BaseImporter.Mode mode)
 Set mode - native/managed More...
 

Properties

unsafe string AcadLayoutsToImport [get, set]
 Returns or sets the AcadLayoutsToImport command - generates a list of ACAD layouts More...
 
unsafe
NXOpen.DxfdwgImporter.AspectRatioOptions 
AspectRatioOption [get, set]
 Returns or sets the autocad aspect ratio calculation method - this will decide the NX Aspect ratio method to be used. More...
 
unsafe bool AvoidUsedNXLayers [get, set]
 Returns or sets the AvoidUsedNXLayers command - if set to true, the destination part layers will not be used More...
 
unsafe bool ConvLayoutData [get, set]
 Returns or sets the Import Layout data command - if set to true then Layout data will be imported More...
 
unsafe
NXOpen.DxfdwgImporter.ConvLayoutsAs 
ConvLayouts [get, set]
 Returns or sets the ConvLayouts command - this will determine if all or selected layouts are translated More...
 
unsafe bool ConvModelData [get, set]
 Returns or sets the Import model data command - if set to true then Model data will be imported More...
 
unsafe string CrossHatchMappingFile [get, set]
 Returns or sets the CrossHatchMappingFile command - definition file for cross hatch mapping More...
 
unsafe int DestForUnselectedLayer [get, set]
 Returns or sets the DestForUnselectedLayer command - number of destination layer More...
 
unsafe
NXOpen.DxfdwgImporter.FacetImportAs 
FacetImport [get, set]
 Returns or sets the DXFDWG Facet Import Option - set import Face3D entities option as either JT facets or Convergent bodies More...
 
unsafe bool FileOpenFlag [get, set]
 Returns or sets the FileOpenFlag command - should be set to false if doing file import More...
 
unsafe bool HealBodies [get, set]
 Returns or sets the HealBodies command - if set to true then healing will be attempted on 3D solids More...
 
unsafe
NXOpen.DxfdwgImporter.ImportBlocksAs 
ImportBlockType [get, set]
 Returns or sets the ImportBlockType command - import ACAD Blocks as a group or as a custom symbol More...
 
unsafe
NXOpen.DxfdwgImporter.ImportCurvesAs 
ImportCurvesType [get, set]
 Returns or sets the ImportCurvesType command - When model data is imported on drawing sheet, this can be set in order to sketch a curve or many curves More...
 
unsafe
NXOpen.DxfdwgImporter.ImportDimensionsAs 
ImportDimensionType [get, set]
 Returns or sets the ImportDimensionType command - import ACAD dimensions as real dimensions or as group data More...
 
unsafe
NXOpen.DxfdwgImporter.ImportPolylinesAs 
ImportPolylineTo [get, set]
 Returns or sets the ImportPolylineTo command - this will determine if polylines will be imported as splines or as lines/arcs. More...
 
unsafe
NXOpen.DxfdwgImporter.ImportToEnum 
ImportTo [get, set]
 Returns or sets the ImportTo command - this option will determine the destination for imported autocad file. More...
 
unsafe bool ImportToTeamcenter [get, set]
 Returns or sets the ImportToTeamcenter command - if set to true then assembly will be imported into Teamcenter More...
 
unsafe string LineFontMappingFile [get, set]
 Returns or sets the LineFontMappingFile command - definition file for line font mapping More...
 
unsafe double ModelScaleFactor [get, set]
 Returns or sets the model data scale factor - The scale factor for scaling the model data during import More...
 
unsafe bool Optimize [get, set]
 Returns or sets the Optimize command - if set to true then attempt will be made to optimize 3D geometry More...
 
unsafe string OutputFile [get, set]
 Returns or sets the OutputFile command - if autocad file is imported to the new part then this name will be used to write the output. More...
 
unsafe
NXOpen.DxfdwgImporter.ProcessingOrderAs 
ProcessingOrder [get, set]
 Returns or sets the ProcessingOrder command - this option will decide processing order of AutoCAD layers More...
 
unsafe bool ReadLayerNumFromPrefix [get, set]
 Returns or sets the ReadLayerNumFromPrefix command - if set to true, layer numbers will be read from prefix More...
 
unsafe double RotationAngle [get, set]
 Returns or sets the Rotation Angle - The rotation angle value for transforming the model data More...
 
unsafe
NXOpen.DxfdwgImporter.SendLayoutsAs 
SendLayoutsTo [get, set]
 Returns or sets the SendLayoutsTo command - this will determine the destination for the layout data More...
 
unsafe
NXOpen.DxfdwgImporter.SendModelDataAs 
SendModelDataTo [get, set]
 Returns or sets the SendModelDataTo command - this will determine the destination for model data More...
 
unsafe string SettingsFile [get, set]
 Returns or sets the SettingsFile command - definition file for default options More...
 
unsafe bool SimplifyGeometry [get, set]
 Returns or sets the SimplifyGeometry command - if set to true then attempt will be made to simplify 3D geometry to analytics More...
 
unsafe bool SkipEmptyLayer [get, set]
 Returns or sets the SkipEmptyLayer command - if set to true, unreferenced AutoCAD layers will not be transalated More...
 
unsafe string TemplateFile [get, set]
 Returns or sets the TemplateFile command - This will be used as template for dxf/dwg import More...
 
unsafe string TextFontMappingFile [get, set]
 Returns or sets the TextFontMappingFile command - definition file for text font mapping More...
 
unsafe bool TranslateUnselectedLayer [get, set]
 Returns or sets the TranslateUnselectedLayer command - if set to true, unselected layers will be translated More...
 
unsafe double TranslationX [get, set]
 Returns or sets the X translation - The delta X value for repositioning the model data More...
 
unsafe double TranslationY [get, set]
 Returns or sets the Y translation - The delta Y value for repositioning the model data More...
 
unsafe double TranslationZ [get, set]
 Returns or sets the Z translation - The delta Z value for repositioning the model data More...
 
unsafe
NXOpen.DxfdwgImporter.UnitsEnum 
Units [get, set]
 Returns or sets the Units command - this option will determine the destination part units. More...
 
unsafe string UnSelectedLayers [get, set]
 Returns or sets the UnSelectedLayers command - sets the list of unselected layers More...
 
unsafe
NXOpen.DxfdwgImporter.WorkflowAs 
Workflow [get, set]
 Returns or sets the DXFDWG Import Workflow Option - this will set dxfdwg import workflow to either 3D or Drawing More...
 
- Properties inherited from NXOpen.BaseImporter
unsafe string InputFile [get, set]
 Returns or sets the input file - name of a file which is being imported 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...
 
- 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...
 

Detailed Description

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

NULL object will be returned from Commit()

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

Default values.

Property Value

FacetImport

Jt

HealBodies

0

ImportPolylineTo

Splines

ImportTo

New

ImportToTeamcenter

0

ModelScaleFactor

1.0

Optimize

0

ProcessHoldFlag

0

ProcessingOrder

Alphabetical

RotationAngle

0.0

SimplifyGeometry

0

TranslationX

0.0

TranslationY

0.0

TranslationZ

0.0

Units

SameAsTemplate

Created in NX6.0.0

Member Enumeration Documentation

NX Aspect ratio calculation options

Enumerator
AutomaticCalculation 
UseSameAsACADWidthFactor 
UseValueSpecifiedInMappingFile 
ScaleACADWidthFactorWithSpecifiedValue 

Convert latouts option

Enumerator
All 

Convert all layouts

SelectedInPreview 

Convert selected layouts

DXFDWG Facet Import options

Enumerator
Jt 

JT facets

Convergent 

Convergent bodies

Import Blocks as option option

Enumerator
Group 

Convert blocks as group

CustomSymbol 

Convert blocks as custom symbol

Part 

Convert blocks as part

NX2DComponent 

Convert blocks as 2D Component

Import curves as option

Enumerator
SketchCurves 

Convert curves as sketch curves

Curves 

Convert curves as curves

Import Dimensions as option option

Enumerator
Real 

Convert dimensions as real dimensions

Group 

Convert dimensions as group

Import Polylines as option

Enumerator
Splines 

import polylines as splines

ArcLines 

import polylines as arc/lines

Import To option

Enumerator
Work 

import dxf/dwg file to work part

New 

import dxf/dwg file to new part

Processing Oder of non numeric layers

Enumerator
Alphabetical 

Alphabetical

ObjectCount 

ObjectCount

Send Layouts data to option

Enumerator
ImportedView 

send Layout data to imported view

DrawingView 

send Layout data to drawing view

Send Model data to option

Enumerator
Modeling 

send model data to modeling

DrawingView 

send model data to drawing view

DrawingSheet 

send model data to drawing sheet

Import To option

Enumerator
SameAsTemplate 

units same as template

Metric 

units millimeters

English 

units inches

DXFDWG Import Workflow options

Enumerator
Drawing 

Drawing workflow

ThreeD 

3D workflow

Member Function Documentation

unsafe void NXOpen.DxfdwgImporter.SaveSettings ( string  filename)
inline

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

Created in NX6.0.0

License requirements: None.

Parameters
filename

Property Documentation

unsafe string NXOpen.DxfdwgImporter.AcadLayoutsToImport
getset

Returns or sets the AcadLayoutsToImport command - generates a list of ACAD layouts

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.AspectRatioOptions NXOpen.DxfdwgImporter.AspectRatioOption
getset

Returns or sets the autocad aspect ratio calculation method - this will decide the NX Aspect ratio method to be used.

Created in NX8.5.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.AvoidUsedNXLayers
getset

Returns or sets the AvoidUsedNXLayers command - if set to true, the destination part layers will not be used

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.ConvLayoutData
getset

Returns or sets the Import Layout data command - if set to true then Layout data will be imported

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.ConvLayoutsAs NXOpen.DxfdwgImporter.ConvLayouts
getset

Returns or sets the ConvLayouts command - this will determine if all or selected layouts are translated

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.ConvModelData
getset

Returns or sets the Import model data command - if set to true then Model data will be imported

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgImporter.CrossHatchMappingFile
getset

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

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe int NXOpen.DxfdwgImporter.DestForUnselectedLayer
getset

Returns or sets the DestForUnselectedLayer command - number of destination layer

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.FacetImportAs NXOpen.DxfdwgImporter.FacetImport
getset

Returns or sets the DXFDWG Facet Import Option - set import Face3D entities option as either JT facets or Convergent bodies

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.FileOpenFlag
getset

Returns or sets the FileOpenFlag command - should be set to false if doing file import

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.HealBodies
getset

Returns or sets the HealBodies command - if set to true then healing will be attempted on 3D solids

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.ImportBlocksAs NXOpen.DxfdwgImporter.ImportBlockType
getset

Returns or sets the ImportBlockType command - import ACAD Blocks as a group or as a custom symbol

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.ImportCurvesAs NXOpen.DxfdwgImporter.ImportCurvesType
getset

Returns or sets the ImportCurvesType command - When model data is imported on drawing sheet, this can be set in order to sketch a curve or many curves

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.ImportDimensionsAs NXOpen.DxfdwgImporter.ImportDimensionType
getset

Returns or sets the ImportDimensionType command - import ACAD dimensions as real dimensions or as group data

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.ImportPolylinesAs NXOpen.DxfdwgImporter.ImportPolylineTo
getset

Returns or sets the ImportPolylineTo command - this will determine if polylines will be imported as splines or as lines/arcs.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.ImportToEnum NXOpen.DxfdwgImporter.ImportTo
getset

Returns or sets the ImportTo command - this option will determine the destination for imported autocad file.

it can either be new (english/metric) or work part.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.ImportToTeamcenter
getset

Returns or sets the ImportToTeamcenter command - if set to true then assembly will be imported into Teamcenter

Created in NX7.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgImporter.LineFontMappingFile
getset

Returns or sets the LineFontMappingFile command - definition file for line font mapping

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe double NXOpen.DxfdwgImporter.ModelScaleFactor
getset

Returns or sets the model data scale factor - The scale factor for scaling the model data during import

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.Optimize
getset

Returns or sets the Optimize command - if set to true then attempt will be made to optimize 3D geometry

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgImporter.OutputFile
getset

Returns or sets the OutputFile command - if autocad file is imported to the new part then this name will be used to write the output.

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.ProcessingOrderAs NXOpen.DxfdwgImporter.ProcessingOrder
getset

Returns or sets the ProcessingOrder command - this option will decide processing order of AutoCAD layers

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.ReadLayerNumFromPrefix
getset

Returns or sets the ReadLayerNumFromPrefix command - if set to true, layer numbers will be read from prefix

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe double NXOpen.DxfdwgImporter.RotationAngle
getset

Returns or sets the Rotation Angle - The rotation angle value for transforming the model data

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.SendLayoutsAs NXOpen.DxfdwgImporter.SendLayoutsTo
getset

Returns or sets the SendLayoutsTo command - this will determine the destination for the layout data

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.SendModelDataAs NXOpen.DxfdwgImporter.SendModelDataTo
getset

Returns or sets the SendModelDataTo command - this will determine the destination for model data

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgImporter.SettingsFile
getset

Returns or sets the SettingsFile command - definition file for default options

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.SimplifyGeometry
getset

Returns or sets the SimplifyGeometry command - if set to true then attempt will be made to simplify 3D geometry to analytics

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.SkipEmptyLayer
getset

Returns or sets the SkipEmptyLayer command - if set to true, unreferenced AutoCAD layers will not be transalated

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgImporter.TemplateFile
getset

Returns or sets the TemplateFile command - This will be used as template for dxf/dwg import

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgImporter.TextFontMappingFile
getset

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

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.DxfdwgImporter.TranslateUnselectedLayer
getset

Returns or sets the TranslateUnselectedLayer command - if set to true, unselected layers will be translated

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe double NXOpen.DxfdwgImporter.TranslationX
getset

Returns or sets the X translation - The delta X value for repositioning the model data

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe double NXOpen.DxfdwgImporter.TranslationY
getset

Returns or sets the Y translation - The delta Y value for repositioning the model data

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe double NXOpen.DxfdwgImporter.TranslationZ
getset

Returns or sets the Z translation - The delta Z value for repositioning the model data

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.UnitsEnum NXOpen.DxfdwgImporter.Units
getset

Returns or sets the Units command - this option will determine the destination part units.

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe string NXOpen.DxfdwgImporter.UnSelectedLayers
getset

Returns or sets the UnSelectedLayers command - sets the list of unselected layers

Created in NX8.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.DxfdwgImporter.WorkflowAs NXOpen.DxfdwgImporter.Workflow
getset

Returns or sets the DXFDWG Import Workflow Option - this will set dxfdwg import workflow to either 3D or Drawing

Created in NX11.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 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.