Rotate a flat model before converting into DXF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
this is part of the code I wrote, we are trying to convert the singles .ipt components of ".IAM" , but before that we need to check the length in x and y and rotate the flat part so that the longest one is on the x Axys. I tried plenty of options to rotate it, in the code you see "oCompDef.RotationParameters[1].Value = rotationAngle", this is just the last try I did before asking for help here. My problem is that I usually program on others platforms, I don't usually use Inventor and iLogic. I'm asking you if there's a proper command to do it, I'll need it just for a few files, and I'll rotate them of 90°. I am also trying to do it using vba in Microsoft Excel, by editing the dxf file like plain text, so if you have any idea, thanks a lot.