IV2008 - DataIO - Write to DXF - Options and limitations

IV2008 - DataIO - Write to DXF - Options and limitations

Anonymous
Not applicable
723 Views
9 Replies
Message 1 of 10

IV2008 - DataIO - Write to DXF - Options and limitations

Anonymous
Not applicable
Several comments on the API help:



1) The page of the DataIO Object says:

"Below are the names of these arguments and their default values"

But the table only includes "Argument", "Type" and "Note".

The table does NOT show the default values of the arguments.



2) "SimplifySplines" (Boolean)

What is the default value?? (see remark 1)

Is this setting PER layer of for the ENTIRE DXF?




3) "SplineTolerance" (Double)

What is the default value? (see remark 1)

Is this value in centimeters (the internal unit of Inventor)?




4) "AdvancedLegacyExport" (Boolean)

What does this?

5) "RebaseGeometry" (Boolean)

What does this?

6) Regarding Bend Angles

With an Inventor DWG, we can show the Bend Angle in the flatpattern (as a
note). Can this value be exported to a DXFas well? (For example, AutoPOL can
do this)



7) Regarding Layers and Colors



We can determine the name of the layer, but can we override the color of an
entity on that layer?

(For example, I want to put all the bendlines on Layer 0, but the bendlines
must be YELLOW (and not WHITE (the default color of the layer))


--
T. Ham
CAD Automation & Systems Administrator
CDS Engineering BV


HP xw4300 Workstation
Dual Pentium XEON 3.6 Ghz
4 GB SDRAM
NVIDIA QUADRO FX 3450/4000 SDI (Driver = 6.14.10.9185)
250 GB SEAGATE SATA Hard Disc
3Com Gigabit NIC

Windows XP Professional SP2
Autodesk Inventor Series 10 SP3a
Autodesk Inventor Suite 2008 SP1
--
0 Likes
724 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable
"7) Regarding Layers and Colors

We can determine the name of the layer, but can we override the color of an entity on that layer?

(For example, I want to put all the bendlines on Layer 0, but the bendlines must be YELLOW (and not WHITE (the default color of the layer))"

I reckon you still need to create the DXF file, then hack it to set the line colours using an add-in!

I need the following in my DXF's -
Layer - OUTLINE, Colour - WHITE, Laser cut lines
Layer - PRESS, Colour - YELLOW, Etch lines
Layer - TEXT, Colour - RED, Etched text (ISO9)
I'm about to start programming........
0 Likes
Message 3 of 10

Anonymous
Not applicable
I could still use the awnsers on my questions...

Is any one from Autodesk around to fill these blanks???

--
T. Ham
CAD Automation & Systems Administrator
CDS Engineering BV

HP xw4300 Workstation
Dual Pentium XEON 3.6 Ghz
4 GB SDRAM
NVIDIA QUADRO FX 3450/4000 SDI (Driver = 6.14.10.9185)
250 GB SEAGATE SATA Hard Disc
3Com Gigabit NIC

Windows XP Professional SP2
Autodesk Inventor Series 10 SP3a
Autodesk Inventor Suite 2008 SP1
--
0 Likes
Message 4 of 10

Anonymous
Not applicable
I've attached an updated table of DXF options.

SimplifySplines is for the entire DXF.
Spline tolerance is in cm.

Hope this helps.

Sanjay-


Argument
Type
Default Value
Note

TangentLayer
String
IV_TANGENT


OuterProfileLayer
String
IV_OUTER_PROFILE


ArcCentersLayer
String
IV_ARC_CENTERS


InteriorProfilesLayer
String
IV_INTERIOR_PROFILES


BendLayer
String
IV_BEND
BendUpLayer + BendDownLayer (legacy support)

BendUpLayer
String
IV_BEND


BendDownLayer
String
IV_BEND_DOWN


ToolCenterLayer
String
IV_TOOL_CENTER
ToolCenterUpLayer + ToolCenterDownLayer (legacy support)

ToolCenterUpLayer
String
IV_TOOL_CENTER


ToolCenterDownLayer
String
IV_TOOL_CENTER_DOWN


FeatureProfilesLayer
String
IV_FEATURE_PROFILES
FeatureProfilesUpLayer + FeatureProfilesDownLayer (legacy support)

FeatureProfilesUpLayer
String
IV_FEATURE_PROFILES


FeatureProfilesDownLayer
String
IV_FEATURE_PROFILES_DOWN


AltRepFrontLayer
String
IV_ALTREP_FRONT

AltRepBackLayer
String
IV_ALTREP_BACK

CustomizeFilename
String


AcadVersion
String

2007, 2004, 2000, or R12 (for DXF only)

SimplifySplines
Boolean
TRUE
Enable spline replacement by linear segments

SplineTolerance
Double
0.01
Chord tolerance for spline replacement

AdvancedLegacyExport
Boolean
TRUE


MergeProfilesIntoPolyline
Boolean
FALSE
Build a polyline of the exterior profiles

RebaseGeometry
Boolean
FALSE
Move geometry to 1st quadrant

InvisibleLayers
String

List of layer names to make invisible, separated by ;




"Teun Ham (IV10 SP3 / IV2008 SP1)"
wrote in message news:5744132@discussion.autodesk.com...
I could still use the awnsers on my questions...

Is any one from Autodesk around to fill these blanks???

--
T. Ham
CAD Automation & Systems Administrator
CDS Engineering BV

HP xw4300 Workstation
Dual Pentium XEON 3.6 Ghz
4 GB SDRAM
NVIDIA QUADRO FX 3450/4000 SDI (Driver = 6.14.10.9185)
250 GB SEAGATE SATA Hard Disc
3Com Gigabit NIC

Windows XP Professional SP2
Autodesk Inventor Series 10 SP3a
Autodesk Inventor Suite 2008 SP1
--
0 Likes
Message 5 of 10

Anonymous
Not applicable
I've attached a word doc with the table. Much more readable :).

Sanjay-

"Sanjay Ramaswamy (Autodesk)" wrote in
message news:5744778@discussion.autodesk.com...
I've attached an updated table of DXF options.

SimplifySplines is for the entire DXF.
Spline tolerance is in cm.

Hope this helps.

Sanjay-


Argument
Type
Default Value
Note

TangentLayer
String
IV_TANGENT


OuterProfileLayer
String
IV_OUTER_PROFILE


ArcCentersLayer
String
IV_ARC_CENTERS


InteriorProfilesLayer
String
IV_INTERIOR_PROFILES


BendLayer
String
IV_BEND
BendUpLayer + BendDownLayer (legacy support)

BendUpLayer
String
IV_BEND


BendDownLayer
String
IV_BEND_DOWN


ToolCenterLayer
String
IV_TOOL_CENTER
ToolCenterUpLayer + ToolCenterDownLayer (legacy support)

ToolCenterUpLayer
String
IV_TOOL_CENTER


ToolCenterDownLayer
String
IV_TOOL_CENTER_DOWN


FeatureProfilesLayer
String
IV_FEATURE_PROFILES
FeatureProfilesUpLayer + FeatureProfilesDownLayer (legacy support)

FeatureProfilesUpLayer
String
IV_FEATURE_PROFILES


FeatureProfilesDownLayer
String
IV_FEATURE_PROFILES_DOWN


AltRepFrontLayer
String
IV_ALTREP_FRONT

AltRepBackLayer
String
IV_ALTREP_BACK

CustomizeFilename
String


AcadVersion
String

2007, 2004, 2000, or R12 (for DXF only)

SimplifySplines
Boolean
TRUE
Enable spline replacement by linear segments

SplineTolerance
Double
0.01
Chord tolerance for spline replacement

AdvancedLegacyExport
Boolean
TRUE


MergeProfilesIntoPolyline
Boolean
FALSE
Build a polyline of the exterior profiles

RebaseGeometry
Boolean
FALSE
Move geometry to 1st quadrant

InvisibleLayers
String

List of layer names to make invisible, separated by ;




"Teun Ham (IV10 SP3 / IV2008 SP1)"
wrote in message news:5744132@discussion.autodesk.com...
I could still use the awnsers on my questions...

Is any one from Autodesk around to fill these blanks???

--
T. Ham
CAD Automation & Systems Administrator
CDS Engineering BV

HP xw4300 Workstation
Dual Pentium XEON 3.6 Ghz
4 GB SDRAM
NVIDIA QUADRO FX 3450/4000 SDI (Driver = 6.14.10.9185)
250 GB SEAGATE SATA Hard Disc
3Com Gigabit NIC

Windows XP Professional SP2
Autodesk Inventor Series 10 SP3a
Autodesk Inventor Suite 2008 SP1
--
0 Likes
Message 6 of 10

Anonymous
Not applicable
Thanks Sanjay!

That's indeed much more readable 🙂

Would you also have an answer to questions 6 & 7? (Or am I asking too much?
:-)

--
T. Ham
CAD Automation & Systems Administrator
CDS Engineering BV

HP xw4300 Workstation
Dual Pentium XEON 3.6 Ghz
4 GB SDRAM
NVIDIA QUADRO FX 3450/4000 SDI (Driver = 6.14.10.9185)
250 GB SEAGATE SATA Hard Disc
3Com Gigabit NIC

Windows XP Professional SP2
Autodesk Inventor Series 10 SP3a
Autodesk Inventor Suite 2008 SP1
--
0 Likes
Message 7 of 10

Anonymous
Not applicable
"Would you also have an answer to questions 6 & 7? "

Sanjay,
I also have an interest in these questions
0 Likes
Message 8 of 10

Anonymous
Not applicable
Unfortunately, the answer to both questions 6 & 7 is no. The API does not
offer any facilities to do this.

Sanjay-

wrote in message news:5745205@discussion.autodesk.com...
"Would you also have an answer to questions 6 & 7? "

Sanjay,
I also have an interest in these questions
0 Likes
Message 9 of 10

Anonymous
Not applicable
So it's still DXF hacking time... ho hum.
0 Likes
Message 10 of 10

Anonymous
Not applicable
That's a pity...put it on the wishlist!

--
T. Ham
CAD Automation & Systems Administrator
CDS Engineering BV

HP xw4300 Workstation
Dual Pentium XEON 3.6 Ghz
4 GB SDRAM
NVIDIA QUADRO FX 3450/4000 SDI (Driver = 6.14.10.9185)
250 GB SEAGATE SATA Hard Disc
3Com Gigabit NIC

Windows XP Professional SP2
Autodesk Inventor Series 10 SP3a
Autodesk Inventor Suite 2008 SP1
--
0 Likes