I'm trying to build a simple ilogic form to fill out iproperty infomation for parts we generate. Our company only uses a few of fields that are available. The problem is that the Physical tab is not available in the form editor. I would like to add this field to my form to be able to select the material for the part. The style/standard editor in our part template file holds all materials we use. Summary, Project, Status, and Custom are all available, why isn't Physical?
Solved! Go to Solution.
Solved by mlouisiana. Go to Solution.
Hi,
I believe you can work around this.
First create a Text Parameter. Name it something like myMaterial. (The value is the name of a material).
Then create a rule with this conent:
iProperties..Material=myMaterial
Then add the Parameter (myMaterial) to the Form. In my tests when i change the myMaterial parameter on the Form the iProperties for the Material on the Physical Tab is updated. (and the Part changes to the new material)
I attached an ipt file with the rules and the form I used to test.
I hope this helps.
Wayne Brill
Autodesk Developer Network
Thanks Wayne,
Using your suggestion, I was able to take it one step further. I setup a multi-value list parameter, then created a rule to suck in all the material data from my template file into the parameter on file startup. I then placed the parameter on my form to allow the user to select the material they need from the list. Then finally I had to create another rule to save-back the selection back to the iproperties physical material variable. It sure would have been easier if Autodesk just put those variables in the forms dialog box!
Hi,
I wanted to let you know that I created a Change Request with engineering to have the Physical iProperties made available on the iLogic form dialog like the other iProperties.
Thanks,
Wayne Brill
Autodesk Developer Network.
I sure would like to see the code for:
" then created a rule to suck in all the material data from my template file into the parameter on file startup"
Thanks
great, i cant open that file.
i posted the error here
Boy I'm sure having troubles getting my attachments to show up properly. I'll try again to show how I set it up.
Hello,
I know this post is a little old but did it ever get done? We just upgraded to 2015 ultimate but don't see a "Physical" section in the list.
Hello, I'm just going thru the process of upgrading all my templates from our last version (2015 to 2017) I wanted to streamline and get rid off all the workarounds I had to do for materials on the ilogic form. It doesn't appear that Autodesk ever followed thru and add the physical tab to the ilogic forms? I still don't see it. Am I missing something?