Macro inventor

Macro inventor

Anonymous
Not applicable
586 Views
4 Replies
Message 1 of 5

Macro inventor

Anonymous
Not applicable

Hi,

 

I know it's possible to create scripts with Inventor and I looked up a lot of information, but I can't find a good tutorial on how to make what I want.

I want to make an macro that can be used in the following way:

I want to use 'copy object' to copy surfaces which I can select. Then I want to rename the created surfaceBody and then I want to export all the created surfaceBodies to an obj file.

 

Is this possible and how is it done?

 

Thanks for your help in advance.

 

 

Sander

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

Mark.Lancaster
Consultant
Consultant

@Anonymous

 

You may want to re-post your requirements over in the Inventor Customization Forum.  I will also tag @Curtis_Waguespack since he is a programming wizard.  Smiley Wink   He may have some code already that could help..

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes
Message 3 of 5

Curtis_Waguespack
Consultant
Consultant

Hi sander.vermeeren,

 

I don't have anything on hand, and didn't dig too deep , but did find this to get you started:

http://forums.autodesk.com/t5/inventor-customization/associative-body-copy-api-sample-problem/m-p/44...

 

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

0 Likes
Message 4 of 5

Anonymous
Not applicable

@Curtis_Waguespack

@Mark.Lancaster

 

Thank you for responding,

I have placed it in the customization forum. Maybe some better explanation of my question. I don't want to just copy the surfaceBody. 

Small example: If I create a pipe, then I want to use the feature 'Copy Object' and copy both ends of the pipe excluded the pipe's 'wall'.

Doing that I created a surfaceBody called srf1 as shown in the extension.

Then I want toe export that surfaceBody so not the solidBody.

 

I'm really losing a lot of time of figuring it out in the macro.

 

Sander

 

 

 

 

0 Likes