Global Forms depended on file extension

Global Forms depended on file extension

Lukasz.Dudkowski
Enthusiast Enthusiast
670 Views
3 Replies
Message 1 of 4

Global Forms depended on file extension

Lukasz.Dudkowski
Enthusiast
Enthusiast

Hello,

 

Is there any possibility to have Forms visible depended on file extension in use or parameter value ?

I know about Forms with are inside the template but this can't be used because I need to use forms to already created files.  

 

I created forms for each file type but when they are together it's looks quite messy.

 

Picture how it's looks was attached.

 

 

0 Likes
671 Views
3 Replies
Replies (3)
Message 2 of 4

A.Acheson
Mentor
Mentor

Having all the forms independent by file type, sheet metal, part, assembly etc and have them open  depending on what file is being worked on has a few drawbacks.

  1. This may work to a degree but may fall down when in the assembly environment where every part/ assembly document is opened in the background and will end up opening the global forms associated with them. This would get messy very quickly.
  2. There is other issues in that you cannot close the form via ilogic, there maybe a work around for this by editing the xml file.
  3. Another drawback is the file is only recognized on the file it was launched from. It needs to be reopened on each file being worked on. 

 

Maybe other user on the customization forum have better ideas. Alot of the people are using ribbon buttons and or VBA forms as the ilogic forms lack some customization. 

 

Attached is pictures of how I have set up a toolbox global form I use, you can create tabs which can fit alot into a small space. Global tab is rules that run across  files or in both assembly and parts. 

 Although I have separate global forms for sheetmetal, drawing iproperties and Toolbox. 

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 4

Lukasz.Dudkowski
Enthusiast
Enthusiast

This is some way to do ii, and awoid the messy in Global forms.

 

My question is more about is there any possibilities to have access only to forms with are only dedicated for the specific file ?

 

 

0 Likes
Message 4 of 4

A.Acheson
Mentor
Mentor

Here are rules to detect file types. No need to check extension but that is another way I guess. 
https://www.cadlinecommunity.co.uk/hc/en-us/articles/201896502-Inventor-2014-iLogic-Exit-Rule-Based-...

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan