MOVE DXF OUTPUT TO FIRST QUADRANT AND ADD iPROPERTY TEXT TO DXF OUTPUT

MOVE DXF OUTPUT TO FIRST QUADRANT AND ADD iPROPERTY TEXT TO DXF OUTPUT

brendan.henderson
Advisor Advisor
706 Views
3 Replies
Message 1 of 4

MOVE DXF OUTPUT TO FIRST QUADRANT AND ADD iPROPERTY TEXT TO DXF OUTPUT

brendan.henderson
Advisor
Advisor

I have a macro to create DXF files for all sheet metal parts in an assembly. What I now want to add is 2 functions :-

 

  1. Move the DXF output to be in the 1st (positive) quadrant so that the left most entity is touches with the Y axis and the bottom most entity touches with the X axis,
  2. Add iProperties like Part Number, Material, Thickness and Qty as text to the DXF file.

Any takers?

Brendan Henderson
CAD Manager


New Blog | Old Blog | Google+ | Twitter


Inventor 2016 PDSU Build 236, Release 2016.2.2, Vault Professional 2016 Update 1, Win 7 64 bit


Please use "Accept as Solution" & give "Kudos" if this response helped you.

0 Likes
707 Views
3 Replies
Replies (3)
Message 2 of 4

xiaodong_liang
Autodesk Support
Autodesk Support

Hi,

 

I am afraid you would need to elaborate your first requirement. probably a snapshot would be helpful. As to the second requirement, the available options when exporting to DXF are listed in API reference. In addition, if UI cannot export the information you need, I do not think API can do.

0 Likes
Message 3 of 4

brendan.henderson
Advisor
Advisor

Thanks for the reply.

 

1st quadrant as shown below. I know I can draw the item in this quadrant but that causes constraint issues. I just want to offset (move) the DXF entities to the first quadrant on export :-

 

1st_quadrant.JPG

 

 

Brendan Henderson
CAD Manager


New Blog | Old Blog | Google+ | Twitter


Inventor 2016 PDSU Build 236, Release 2016.2.2, Vault Professional 2016 Update 1, Win 7 64 bit


Please use "Accept as Solution" & give "Kudos" if this response helped you.

0 Likes
Message 4 of 4

xiaodong_liang
Autodesk Support
Autodesk Support

Sorry, I did not meant what is FIRST QUADRANT. I was just wondering what kind of result you would like to have. e.g. what is  "left most entity touches with the Y axis and the bottom most entity touches with the X axis".

 

It looks you will need to get the extent of the entities and move them after exporting to DXF. That would mean you will need to post-develop by AutoCAD API on the DXF.

0 Likes