I need to make installation plans on climate ceilings, which are steel cassettes with Meandro tube element located where cold or hot water is flowing through.
Now it may occur that a cassette is given a code 700 which represents the type of cassette.
If inside the cassette is placed a Meandro element its become a follow number eg 700-01.
It may also be that the same cassette No. 700 gets another Meandro element and because the cassette has not changed shape the number 700 remains the same but the follow number change eg 700-02.
At the moment I change the number in the browser,(inv2012) I therefore want automatically the iproperties ,partnumber and stocknumber, to fit.
When I go to the BOM, the part- and stock numbers automaticly will be placed.
The browser codes are not displayed in the BOM.
So if I specify for change I only have to do so in the browser.
I wanted to do so by iLogic but then ran into problems.
I found a tutorial from Rob Cohee with ilogic so you won’t forget to fill in your iproperties.
http://ellipsis-autodesk.typepad.com/blog/2010/06/new-ilogic-web-series.html
I also wanted to do so with the iproprtie Stocknumber but get an error stating that I must declare the name.
How must i declare a name.
Also i was told for entering the browse name in ilogic i had to use displayName, but I get a error stating that the name is Read Only.
So how can i, after i change the browse name, automaticly fill in the iproperties ‘partnumber and/or stocknumber?
Is there an ilogic code for?
Solved! Go to Solution.
Solved by bobvdd. Go to Solution.
Can you place following rule in your assembly and see if it works for you?
doc = ThisDoc.Document Dim occ As Object For Each occ In doc.ComponentDefinition.Occurrences browsername = Split(occ.Name,":") iProperties.Value(occ.Name, "Project", "Part Number") = browsername(0) iProperties.Value(occ.Name,"Project", "Stock Number") = browsername(0) Next occ
Cheers
Bob
Hi Bob
Thank you very much, this works great.
The only thing i have to think of is that i have to place the part and not to copy the part into the assy.
When i place the part, the BOM counts them apart.
See atachment for the result.
I work with Autodesk Factoty design and i want to use the browser rule but it isn't work.
I get no error and the part numbers don't go over to the BOM.
Is Factury not the same as Inventor?
Can anyone help me?
The iLogic rule changes the part number and the stocknumber of the files.
Factory assets are a special breed in the sense that these files are read-only (and this is by design).
This of course means that any change you make to the partnumber or stocknumber on an asset file cannot be saved to disk.
Bob