Rotate Dxf File Geometry Using VBA Macro

Rotate Dxf File Geometry Using VBA Macro

isocam
Collaborator Collaborator
302 Views
1 Reply
Message 1 of 2

Rotate Dxf File Geometry Using VBA Macro

isocam
Collaborator
Collaborator

Can anybody help?

 

Can anybody tell me if the following is possible?

 

I have a VBA macro that automatically outputs a dxf file of a 2d laser cut profile on any of the three Inventor work planes.

 

Two of the work planes outputs a dxf file in the same orientation as the sketch.

 

However, one of the planes outputs a dxf file that is rotated through 90 degrees.

 

Is there any way I can write a simple VBA macro to rotate the dxf files geometry through 90 degrees easily without having to do a set of geometry calculations to rotate each entity.

 

Is there a single line in a dxf file that I can change the rotation origin through 90 degrees???

 

Many thanks in advance!

 

Kind Regards

 

Darren

0 Likes
303 Views
1 Reply
Reply (1)
Message 2 of 2

AndrewHumiston
Advocate
Advocate

morning,

 

could you send me a copy of the ilogic code you have. i have a  similar code but i have no issues with it rotating 90 degrees. but mine just flattens the sheet metal and does the dxf magic.,

0 Likes