Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic 3rd Party object visibility in Drawing environment

1 REPLY 1
Reply
Message 1 of 2
asalcedoq
730 Views, 1 Reply

iLogic 3rd Party object visibility in Drawing environment

Greetings to all .
Hope you can help me. I have a file with idw extension, on a sheet which show an embedded spreadsheet with relevant information about the product specification. It happens that the same product can make you different specifications (for now only two ) which led me to have two files with the only difference being the aforementioned spreadsheet. With the help of iLogic, I want this to change , creating a multivalued parameter with iLogic code That change the information displayed on the spec sheet . So, I thought the following ideas:

1) Create two embedded spreadsheet ( or how many you need ) and remove all visibility except for the concerned.

2) Create a single spreadsheet with all possible specifications and the drawing sheet showing me only for the current parameter a specific range.

3) Create the table and its variants completely with iLogic code .

Although they are good ideas, and all I would be useful, I just have a little problem ... so far I as I refer to a 3rd Party object in the environment iLogic , so I would appreciate a lot if I give advice and share with me your experience , because it seems very useful and I think it's strange that no one asked this before.

1 REPLY 1
Message 2 of 2
adam.nagy
in reply to: asalcedoq

Hi,

 

One issue that might influence your decision is that it seems that programmatically you can only control the visibility of the 3rd party object for the sheet where it was originally inserted. Through the UI you can make the same object visibile in multiple sheets, but then cannot control it through the API.

So if you are working with multiple sheets it might be better to go with a custom table that you fill with data yourself.

 

You can store data in Attributes as well inside a document, so xls might not be necessary here.

There are blog posts about the 3 main ways you can store custom data in documents: 

http://adndevblog.typepad.com/manufacturing/2013/03/save-extra-data-in-inventor-file-1.html

http://adndevblog.typepad.com/manufacturing/2013/03/save-extra-data-in-inventor-file-2.html

http://adndevblog.typepad.com/manufacturing/2013/03/save-extra-data-in-inventor-file-3.html

 

Cheers, 



Adam Nagy
Autodesk Platform Services

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report