Inventor General

Reply
Active Member
JachinBr
Posts: 9
Registered: ‎01-04-2013
Message 1 of 7 (372 Views)

Global form visibillity?

372 Views, 6 Replies
01-04-2013 01:36 AM

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



*Expert Elite*
Curtis_Waguespack
Posts: 2,772
Registered: ‎03-08-2006
Message 2 of 7 (349 Views)

Re: Global form visibility?

01-04-2013 03:26 PM in reply to: JachinBr

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



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





*Expert Elite*
Curtis_Waguespack
Posts: 2,772
Registered: ‎03-08-2006
Message 3 of 7 (336 Views)

Re: Global form visibility?

01-04-2013 04:13 PM in reply to: Curtis_Waguespack

Correction, I should have typed:

 

iLogicForm.ShowGlobal("MyForm")

 



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





Active Member
JachinBr
Posts: 9
Registered: ‎01-04-2013
Message 4 of 7 (317 Views)

Re: Global form visibility?

01-05-2013 05:03 AM in reply to: Curtis_Waguespack

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 :smileyhappy: 

but who knows?

 

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

 

cheers

 

*Expert Elite*
Curtis_Waguespack
Posts: 2,772
Registered: ‎03-08-2006
Message 5 of 7 (268 Views)

Re: Global form visibility?

01-07-2013 07:49 AM in reply to: JachinBr

JachinBr 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". :smileyembarrassed:

 

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

 


 



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





Active Member
JachinBr
Posts: 9
Registered: ‎01-04-2013
Message 6 of 7 (243 Views)

Re: Global form visibility?

01-08-2013 12:16 AM in reply to: Curtis_Waguespack

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 :smileywink: ) 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

 

 

Active Contributor
Kris_Inv2013
Posts: 39
Registered: ‎07-19-2012
Message 7 of 7 (172 Views)

Re: Global form visibility?

04-09-2013 07:12 AM in reply to: Curtis_Waguespack

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube