customise export from idw to dwg

customise export from idw to dwg

CherylR001
Advocate Advocate
589 Views
4 Replies
Message 1 of 5

customise export from idw to dwg

CherylR001
Advocate
Advocate

I am trying to customise the .xml file for exporting from an idw file to dwg and delete a layer when I do so. i thought i had an idea on how to do it but it's not working. Any chance someone can have a look at the file I've edited and tell me where I'm going wrong.

 

Thanks

 

Cheryl

0 Likes
590 Views
4 Replies
Replies (4)
Message 2 of 5

bradeneuropeArthur
Mentor
Mentor

Hi,

 

What are you trying to do?

  1. You have an existing .idw file
  2. You try to export it to a .dwg file 
    • inventor dwg
    • Autocad dwg
  3. what layer are you trying to suppress

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 5

CherylR001
Advocate
Advocate

1. Yes, I have an existing idw file

2. I want to export to an AutoCad dwg file

3. I want to suppress a layer called IssueNumber. It is a layer with sketch symbols on that I don't necessarily want on the AutoCad dwg file that is being sent to the laser cutting firm

 

Cheryl

 

0 Likes
Message 4 of 5

bradeneuropeArthur
Mentor
Mentor

Think that this is to be done in the INI file:

bradeneuropeArthur_0-1614371327336.png

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 5

bradeneuropeArthur
Mentor
Mentor

Or With This:

<?xml version="1.0" encoding="utf-16" standalone="yes"?>

<!-- 
===========================================================
This file contains the instructions for editing a DWG/DXF
file.

The format of these instructions as follows.   Within a
given pair of <editLayer> tags, the <name> tag specifies
the name of the layer to edit while the <setName> tag
specifies the new name for the layer.


Within a given pair of <addLayer> tags, the <name> tag 
specifies the name of the layer to add.

Within a given pair of <deleteLayer> tags, the <name> tag 
specifies the name of the layer to delete.


New <addLayer>, <deleteLayer>, <editLayer> tags can be added 
in this exact sequence as needed by mimicking the structure 
below.  The tags are processed in the same sequence:
<addLayer>, <deleteLayer>, <editLayer>


Layer 0 cannot be deleted.  Using <deleteLayer> on layer 0
only deletes the entities on the layer.
===========================================================
-->
<!--
===========================================================
                     BEGIN DTD SECTION
Do not modify the DTD section of this file.  It is used to
verify that the content of the file is valid.
===========================================================
-->
<!DOCTYPE dwgEdits [
	<!ELEMENT dwgEdits		(layers)>
	<!ELEMENT layers		(addLayer*, deleteLayer*, editLayer*)>
	<!ELEMENT editLayer		(criteria, actions)>
	<!ELEMENT addLayer		(criteria)>
	<!ELEMENT deleteLayer		(criteria)>
	<!ELEMENT criteria		(name)>
	<!ELEMENT actions		(setName)>
	<!ELEMENT name			(#PCDATA)>
	<!ELEMENT setName		(#PCDATA)>

	<!ATTLIST dwgEdits version CDATA #REQUIRED>
]>
<!--
===========================================================
                      END DTD SECTION
===========================================================
-->

<dwgEdits version='1.0'>
	<layers>

<!--
		<addLayer>
			<criteria>
				<name>MyExtraLayer</name>
			</criteria>
		</addLayer>
-->


		<deleteLayer>
			<criteria>
				<name>IssueNumber</name>
			</criteria>
		</deleteLayer>


		<editLayer>
			<criteria>
				<name>IV_TANGENT</name>
			</criteria>
			<actions>
				<setName>FlatPattern_Tangent Lines</setName>
			</actions>
		</editLayer>
		<editLayer>
			<criteria>
				<name>IV_BEND</name>
			</criteria>
			<actions>
				<setName>FlatPattern_Bend Lines</setName>
			</actions>
		</editLayer>
		<editLayer>
			<criteria>
				<name>IV_BEND_DOWN</name>
			</criteria>
			<actions>
				<setName>FlatPattern_Bend Lines backside</setName>
			</actions>
		</editLayer>
		<editLayer>
			<criteria>
				<name>IV_TOOL_CENTER</name>
			</criteria>
			<actions>
				<setName>FlatPattern_Tool Centers</setName>
			</actions>
		</editLayer>
		<editLayer>
			<criteria>
				<name>IV_TOOL_CENTER_DOWN</name>
			</criteria>
			<actions>
				<setName>FlatPattern_Tool Centers backside</setName>
			</actions>
		</editLayer>
		<editLayer>
			<criteria>
				<name>IV_ARC_CENTERS</name>
			</criteria>
			<actions>
				<setName>FlatPattern_Arc Centers</setName>
			</actions>
		</editLayer>
		<editLayer>
			<criteria>
				<name>IV_OUTER_PROFILE</name>
			</criteria>
			<actions>
				<setName>FlatPattern_Outer Profile</setName>
			</actions>
		</editLayer>
		<editLayer>
			<criteria>
				<name>IV_FEATURE_PROFILES</name>
			</criteria>
			<actions>
				<setName>FlatPattern_Feature Profile</setName>
			</actions>
		</editLayer>
		<editLayer>
			<criteria>
				<name>IV_FEATURE_PROFILES_DOWN</name>
			</criteria>
			<actions>
				<setName>FlatPattern_Feature Profile backside</setName>
			</actions>
		</editLayer>
		<editLayer>
			<criteria>
				<name>IV_INTERIOR_PROFILES</name>
			</criteria>
			<actions>
				<setName>FlatPattern_Interior Profile</setName>
			</actions>
		</editLayer>
	</layers>
</dwgEdits>

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes