Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic Forms Picture Folder?

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
meck
3267 Views, 5 Replies

iLogic Forms Picture Folder?

What is it for and how do I use it?

Will it allow me to switch between different pictures for display on my iLogic form?

If so? How do I set which picture to display?

Where can I get more in depth help on this stuff?????

Mike Eck
Master Drafter/ CAD Programmer
Using Inventor 2018
5 REPLIES 5
Message 2 of 6
MjDeck
in reply to: meck

When you drag in a Picture Fodler object, it contains two Picture objects.  You can add more. 

- Click on each Picture object, click on the Image property and browse to a bitmap file.

- Change the Label (name) of each Picture object to something meaningful.

- Create a Text parameter (named PictureName or something similar) in your part or assembly.  Make it a multi-value parameter.  Set the possible values to be the same as the labels (names) of the Picture objects that you have just named.

- Add another Picture object to your form.  Add it outside of the Picture folder.  This will be a visible object, shown on the form.

- Click on the Picture Parameter Name property of that new Picture object.  Set it to the name of your Text parameter (PictureName in this example).

 

 Then you can use a rule to drive the value of the PictureName parameter.  This will change the image in the form.

 


Mike Deck
Software Developer
Autodesk, Inc.

Message 3 of 6
meck
in reply to: MjDeck

Thanks Mike!

Mike Eck
Master Drafter/ CAD Programmer
Using Inventor 2018
Message 4 of 6
Anonymous
in reply to: meck

Message 5 of 6
cino.cihan
in reply to: MjDeck

Hi all,

 

 I have a similar problem to this. Can I switch between the images by selecting difrent tabs in my form ? I want to update the image by the selected tab. capture.png

 

I have tried "if" or "select case" and neither one worked. as I am saying Stair_Properties = True it only makes the tab active. It doesnt indicate if it is selected, here is the code :

 

If Stair_Properties = True Then
Image = "Image 01"
End If
If Railing_Properties = True Then
Image = "Image 02"
End If
If Riser_Properties = True Then
Image = "Image 03"
End If

'Select Case Image
'Case Stair_Properties
'Image = "Image 01"
'Case Railing_Properties
'Image = "Image 02"
'Case Riser_Properties
'Image = "Image 03"
'End Select

 

 

Any help would be great...

Message 6 of 6
meck
in reply to: cino.cihan

There are no events to trigger the switch of a picture by clicking on a tab. What I would do is place a picture on each tab with what I way to convey.

Mike Eck
Master Drafter/ CAD Programmer
Using Inventor 2018

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

Post to forums  

Autodesk Design & Make Report