Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic to demote the contents of a browser folder

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
1120 Views, 2 Replies

iLogic to demote the contents of a browser folder

I'm trying to create an ilogic rule that will look within the folders of an assembly and take the contents of each of those folders and demote them to separate sub-assemblies.

 

ie. Assembly1 contains NewFolder 1.  NewFolder 1 contains Part1:1 and Part2:1.  Upon executing the ilogic rule, I would like Assembly1 to contain NewFolder 1 and within NewFolder 1, Assembly1-01.  Assembly1-01 contains Part1:1 and Part2:1.  I would like this ilogic rule to look within each successive folder within Assembly1 and demote them according to their position in the browser such that NewFolder 1 - at the top of the browser list - contains Assembly-01, NewFolder 2 contains Assembly-02, etc.

 

I hope this is clear.  I currently copy a master assembly with browser folders that contain parts and sub-assemblies to a secondary assembly where I manually demote the contents of the folders to sub-assemblies.  When I create a drawing for our machine assembly department, the demoted sub-assemblies help to isolate only those parts - nuts, bolts and the pieces they fit to - so it is easier for the assembly department when putting a machine together.

 

Is it possible, using ilogic, to demote folder contents to sub-assemblies with an assembly document?

 

Thanks!

2 REPLIES 2
Message 2 of 3
innovatenate
in reply to: Anonymous

You should be able to use most of the API objects in iLogic. Check out Help > Community Resources > Programming Help for details and examples on these objects (BrowserNode Object and the demote occurence). Perhaps there are some samples or some examples that you could google to help put something together that would work.

 

Hope this helps.

 

 




Nathan Chandler
Principal Specialist
Message 3 of 3
Anonymous
in reply to: innovatenate

Thank you Nathan.  I've been looking through the documents today and it looks like I may be able to sumble my way through what I want to do.

 

Thanks!

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

Post to forums  

Autodesk Design & Make Report