I've seen lots of forum postings about changing the background colour, but I can't find anything about changing the background to the 'background image' and then providing what the path should be.
...shouldn't be too hard right?
Solved! Go to Solution.
Solved by jjstr8. Go to Solution.
Solved by Curtis_Waguespack. Go to Solution.
See these quick iLogic examples
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
oInput = InputRadioBox("Select one", "Use Image", "Don't Use Image", True, "iLogic")
oSchemes = ThisApplication.ColorSchemes
If oInput = True Then
oSchemes.BackgroundType = BackgroundTypeEnum.kImageBackgroundType
ThisApplication.ActiveColorScheme.ImageFullFileName = "C:\Temp\BG1.jpg"
Else
oSchemes.BackgroundType = BackgroundTypeEnum.kOneColorBackgroundType
End If
oInput = InputRadioBox("Select one", "Use Image1", "Use Image2", True, "iLogic")
If oInput = True Then
oPath = "C:\Temp\BG1.jpg"
Else
oPath = "C:\Temp\BG2.jpg"
End If
oSchemes = ThisApplication.ColorSchemes
oSchemes.BackgroundType = BackgroundTypeEnum.kImageBackgroundType
ThisApplication.ActiveColorScheme.ImageFullFileName = oPath
I was looking for the where I would even put that path in Yes. The help files were pretty thin on details when you look up 'Background Image', it just gives the enum value stuff; nothing else.
Can't find what you're looking for? Ask the community or share your knowledge.