• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

force material writing in the cartilage with ilogic

  • Thread starter Thread starter danilo_bl
  • Start date Start date

danilo_bl

Guest
Good morning, everyone!
After vault implementation, the descriptions of the materials have been changed and are not always updated so they are in the situation, in some cases, having to choose a wrong material and then change it to the correct one to be sure that this is written correctly in the cart.
Sometimes, if this operation is not performed, having for example a sheet metal model thickness 25/10 and brought to 20/10, in the cartiglio remains 25/10. Just putting, I know... 5/10 and reporting to 20/10 is written correctly.

Does anyone know a system with ilogics for which the material field is forced to read/write in the cartilage?
for example writing it in the iproperties cartiglio and changing destination to the material field?

exchange with other rules :-)

Thank you.
 
excuse but the material field on the cartiglio in your hypothesis is unrelated to the model?
 
no, the reading of the material is given by the material field on the model taken from the curtain materials according to custom list as from image.
1646929489093.webpthe difference is that with previous versions pdm+inv the field was written manually and sometimes does not overwrite it with the one taken from the curtain
 
example in the material field of the model there is galvanized steel 05/10 and in the cartilage also
1646988288347.webp1646988304478.webponly that sometimes instead of doing as now, it remains in the galvanized sheet cartiglio sp. 6/10.
 
so you have a custom property for the material.
change the physical properties of the material in the model and an ilogic rule updates the custom iproperties "material"?
 
Not exactly. . .
the "material iproperties" is that from material combo and I know that it is this (odoc.activematerial.displayname) and works with new parts.
sometimes however, on previous pdm drawings, the "material iproperties" was written manually and (I don't know how) but ended both in model iproperties and table.
the new cartilage takes the "material combo" but having the same name at times does not update it.

the current cartilage uses the material combo.

I found this that writes iproperties and at the moment I write it with the triggers in the model:
dim odoc as partdocument = thisdoc.document
iproperties.value("custom", "material") = odoc.activematerial.displayname
but it's not the solution... only a plaster

what I miss is the copy of this in the table iproperties.
 
just to say how it works right now. . .
open table from this model and with triggers I update the table at "return"1647011959757.webp(maybe there are too many but it is very light as "macro")
 
it is not easier to untie:
- material
- galvanic treatment
- sheet thickness

and reset the carts?
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top