1. Can I add more button into iLogic Form?
2. I want to define "Button1" to run "Rule 1", "Botton 2" to run "Rule 2". How can I do it?
Solved! Go to Solution.
Solved by mrattray. Go to Solution.
Richard,
I don't know much about iLogic, but am learning slowly.
Are you talking about a custom button on the ribbon that executes a rule?
Can post an image?
If this solved your issue please mark this posting "Accept as Solution".
Or if you like something that was said and it was helpful, Kudos are appreciated. Thanks!!!!
Here it for example iLogic Form. There are three button which Inventor defined. I want to add more button and define their function.
I do not know why I cannot attached my attachment.
If you are familiar with iLogic Form, you should know what I am talk about. There are three pre-defined buttom in Inventor iLogic Form (OK, Apply and Cancel). I want add more.
Here is the picture which has Inventor pre-defined Button in Form.
Thank you for sharing that. That is not quite what I was thinking it was. I was thinking these were buttons on the ribbon.
If this solved your issue please mark this posting "Accept as Solution".
Or if you like something that was said and it was helpful, Kudos are appreciated. Thanks!!!!
Simply flip to the rules tab in the form editor and drag the rule onto the form.
Thanks lot Mike.
It is what I want.
Could you please let me know how I can adjust the location of this button also? This button is mixed with pre-defined botton in Forms.
And coudl you please help me answer the question in fololowing link?
http://forums.autodesk.com/t5/Inventor-General/Parameters-Sequence-in-iLogic-Form/td-p/4861938
Thanks.
Hello Danmachen,
For using radio group buttons, you need to know your input at first. So, when you define a user parameter, you could use let it to be multi-valve list and put your multi input in the list.
Then in Forms under iLogic Browser Tab, you could Add Form. In Form Editor, you could pull the parameter into the form which you want to make. Rest, I believe you could do it. You do not need extra code, I think.
Ok, So I have created radio group buttons using the form and with fx parameters and made them multi-choice.
I want to be able to take the Selections from the Radio Group buttons to piece together a part number. For example in the attached image, I would like the part number to be:
AA_EXAMPLE_PART_NAME_A
I Noticed you had something similar to this in an attached image you posted.
Ideally, I would like a macro which automatically numbers part in sequential order based on their Structure and Section (see image).
Example:
AA001A_EXAMPLE_PART_NAME
AA002A_EXAMPLE_PART_NAME2
EC001A_EXAMPLE....
ETC.
Any advice?
If I can create this sequential numbering system in the VB script, I can assign it to a variable and use it to name my file to the same as the part number.
You could seperate your P/N to a few parts (parameters). As I could see:
The first parameter could be "FIRST" multi-valve as: (AA001A, AA002A, EC001A,.......)
The second one could be "SECOND" as (PART_NAME, PART_NAME2, ......)
If you like, you could make more.
Then you could get your part number by code
PartNumber = FIRST & "_EXAMPLE_" & SECOND
You could add this code to a rule. And let this rule to be run after finish your input. And you may or may not need to put code
iLogicVb.UpdateWhenDone = True
to let it be updated.
Two options could do.
1. Seperate the first two letter as a parameter.
2. If you do not want tdo so, you could use following code:
FirstTwoLetter = mid (partnumber, 1, 2)
or
FirstTwoLetter = left (partnumber, 2)