CycloneWade
Automotive
- Apr 1, 2005
- 76
Hi All,
I have a macro that reads a custom property from a part and then runs a routine on it to acquire another value. This value then needs to get set as another custom property. I have what I think works the first time if the custom property does not exits. It fails to rewrite the custom property if they change depending on the input. What kind of code can I use to basically force a rewrite of an existing property?
Below is the line where I write the new custom property.
Part.AddCustomInfo3 "", "UnitPrice", 30, Stlprice
It is possible that Stlprice value could change thus the custom prop called UnitPrice needs to change each time the macro runs.
Thanks.
I have a macro that reads a custom property from a part and then runs a routine on it to acquire another value. This value then needs to get set as another custom property. I have what I think works the first time if the custom property does not exits. It fails to rewrite the custom property if they change depending on the input. What kind of code can I use to basically force a rewrite of an existing property?
Below is the line where I write the new custom property.
Part.AddCustomInfo3 "", "UnitPrice", 30, Stlprice
It is possible that Stlprice value could change thus the custom prop called UnitPrice needs to change each time the macro runs.
Thanks.