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

insert iproperties customized with ilogic

  • Thread starter Thread starter Gianlucagiangian
  • Start date Start date

Gianlucagiangian

Guest
Bye.
it is possible with a rule on ilogic, to insert a custom iproperties field called weight that has the formula =<mass></mass> grazie.
 
you have to add the new mass property in the cartilage and replace it to all your idw.
idw file "fish" ipt/iam model information and not vice versa
 
I didn't mean that. in the custom properties of the ipt, I need to insert every time I open an ipt, the weight field with formula =<mass> I was wondering if you could do it with ilogic.</mass>
 
create weight properties or whatever you want and impose units of measurement in kg
rule ilogic weight = iproperties.mass
 
no, I want prorpio that by activating the rule you create in iproperties the custom property called weight, with type text and value: ♪<mass>to avoid going to add it by hand.</mass>
 
it could be useful to create a form "module mass" with inside the "calcle mass" button that relates to the external rule "mass".

create the ilogic rule "mass" with inside:
weight = iproperties.mass

then create rule "form mass"
ilogicform.showglobal("module mass", formmode.nonmodal)

in the global module field create the module "mass module" with inside the key that will execute the rule "mass", whenever you press on the "mass calculator" button he will execute the rule.
In this way you will choose when performing the rule with the module that will appear at the opening by enabling the module opening whenever you open the "ipt" or "iam" file from the event trigger.

p.s. easier to make than to say
 
rule: iproperties.value("custom", "weight") = mass
Event trigger: At the opening of the file launch rule
 
Hi.
you can create a rule with these
values, what I use also has the density of the material because I had problems with the libraries and so control that it is correct.
Code:
 iproperties.value("custom", "specific weight") = "=<density>"
iproperties.value("custom", "full weight")=iproperties.mass
inventorvb.documentupdate()

ilogicvb.updatewhendone = true
thisdoc.</density>
 
if you need another option is to insert the mass column into the parts list and use , add columns and choose and drag the mass item from the list, so you can also bring it to the table with ease
 

Forum statistics

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

Members online

No members online now.
Back
Top