Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Global form visibillity?

6 REPLIES 6
Reply
Message 1 of 7
JachinMK
889 Views, 6 Replies

Global form visibillity?

Hi there,

 

I have a form to fire some parameters into a parts iproperties. Currently this form is located inside
of the template file. And it works great.

 

Because i would like to have the form in a central location i have to switch to using a global form.

When i do this the global form is availible in all part, drawings and assembly's. this is not what i wanted.

 

Is it possible to have a global form, but have it only availible in for example parts?

This will safe confusion.

 

thanks!

 

Jachin



6 REPLIES 6
Message 2 of 7

Hi JachinBr,

 

The way I've handled this sort of thing is to create an iProperty "flag" in the part files (or part templates) that I want the form or external rule to be used in, and then add a conditional statement to check for the presence of the iProperty flag value. If the flag is not found then, the rule ends, else it shows the form.

 

I then use an event trigger to run the rule when ever then file is saved, or opened, etc.

 

Here's an example:

 

'check for flag
If iProperties.Value("Summary", "Comments") <> "FormFlag" Then
'end the rule Return Else
'show the form iLogicForm.Show("MyForm") End If

 

Here's a link that suggests something similar:

http://inventor-tales.blogspot.in/2012/06/using-ilogic-form-to-make-rule-user.html

 

Also, note that you might have better luck searching and asking questions of this type on the Inventor Customization forum:
http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120

 I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

Message 3 of 7

Correction, I should have typed:

 

iLogicForm.ShowGlobal("MyForm")

 

Message 4 of 7

Hi Curtis,

 

Thanks for your reply. If I'm not mistaken you use a itrigger to fire the form when using your example?

I'm aware of such a function and it's really usefull. But I think I made my question is not really clear. I was looking for a way to have a Global form not show up in the ilogic browser. ( i'm avraid other users will use forms the should not use ).  I'm looking for a way to have a Global form that can only be fired in the enviourment t's supposed to work in.

I have made a screen shot of a assembly that shows a Global form in the ilogic browser that should only be visable in a part.

 

I have a feeling there is no easy way out 🙂 

but who knows?

 

PS. I really like your book Curtis! great work!

 

cheers

 

Message 5 of 7


@JachinMK wrote:
"... But I think I made my question is not really clear...


Hi JachinBr,

I think I just forgot to answer your question directly, and went straight to the "best available workaround". Smiley Embarassed

 

So, to provide a direct answer: I'm not aware of a way to hide the global form. And my best suggestion is to use another rule to present the form to the user on some event trigger (such as when opening the file, or when a  new file is created from the template file).

 

I think by doing this, you can call the users attention away from the Global Forms tab. And reduce the chances that they'll open the form for parts that are not applicable for the form.

 

More on event triggers:

http://wikihelp.autodesk.com/Inventor/enu/2012/Help/0073-Autodesk73/0673-iLogic673/0679-Event_tr679

 

p.s. thanks for supporting the book.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 


 

Message 6 of 7

Curtis,

 

Thanks for the answer.

I'll be using an itrigger to fire the local form and an event trigger.

The risk somebody will eddit the global form (even as read only 😉 ) is bigger then the damge impact of edditing a single form in a file.

I hope in the future this function will be added to the global forms, because i see way more save functions there.

 

cheers

jachin

 

 

Message 7 of 7

Hi Curtis,

 

I was wondering if you could help me on this one please?

Is possible to place Groups on a Tab adjacent to each other rather than one below the other?

I am running out of space vertically on my first Tab of my Global Form but I could make it wider.

Is it possible to split a tab vertically? As I can only find horizontal splitter..

 

Thanks,

 

Kris

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report