Hi,
I'm having some difficulty to change the appearance of my model on Configurator 360. I'm using the syntax: "iProperties.Partcolor" in an iLogic rule in each part of my assembly to change it's color. It works very well on Inventor, but when I upload this Model to Configurator 360 and change the parameter "Color" it occurs an error (as shown in the picture below).
Attached there is a sample assembly just as the one I'm testing and the error log from C360 about this issue. **Note that the folder attached contains a custom library, because I need to use this one.
On the other hand, I tried to use the "Component.Color" function in an iLogic rule my assembly (removing rules with "iProperties.Partcolor" for each part). This method solves the previous glitch on C360 but the update is much slower and the colors are not shown in the proper color during pan/zoom/rotate.
Can anyone help me showing the best way to work with appearances on C360? Thanks!!
Solved! Go to Solution.
Solved by chandra.shekar.g. Go to Solution.
Solved by chandra.shekar.g. Go to Solution.
@Anonymous,
Actually, appearance of parts are updating from parameter of assembly. I am guessing that this could be one of the reason for slowness.
Create all appearances in Assembly document which are listed in below image.
After creation of appearance, use below iLogic code to update colors of parts.
Parameter.UpdateAfterChange = True Parameter("SKT:1", "HEIGHT")=HEIGHT Parameter("SKT:1", "WIDTH") = WIDTH Component.Color("PRF_ESQ:1") = COLOR & "_po" Component.Color("PRF_DIR:1") = COLOR & "_po" Component.Color("PRF_SUP:1") = COLOR & "_po" Component.Color("PRF_INF:1") = COLOR & "_po" iLogicVb.UpdateWhenDone = True
Thanks and regards,
Ok, I created all appearances in Assembly document and I used the iLogic code indicated. The message error disappeared, but the delay to change color continues.
Attached is a video that I recorded on C360 demonstrating this delay and the incorrect color during pan/zoom/rotate. The right color only appear after Graphics updates.
@Anonymous,
In Inventor customization forum, questions are answered related to Inventor API and iLogic.
Please post the same question at Configurator 360 forum using below link.
https://forums.autodesk.com/t5/configurator-360/ct-p/2041
Thanks and regards,
Can't find what you're looking for? Ask the community or share your knowledge.