Change AutoCAD Render IBL settings through VBA

Change AutoCAD Render IBL settings through VBA

reuter.philipp
Enthusiast Enthusiast
612 Views
1 Reply
Message 1 of 2

Change AutoCAD Render IBL settings through VBA

reuter.philipp
Enthusiast
Enthusiast

Hello,

I am trying to write a script for my company to set the render settings to the desired preset with one click. Almost everything works, but I can't find a way to select if the IBL background or a custom background is used. It is possible to create a view with a background using -VIEW, but then the IBL background is still visible during the render and not the one selected in the view.

Does anyone happen to know how to change the background via VBA without the selection window appearing and still be able to choose between the different background types?

With kind regards,

Philipp

0 Likes
613 Views
1 Reply
  • VBA
Reply (1)
Message 2 of 2

reuter.philipp
Enthusiast
Enthusiast

To make the question a little more understandable, here are further explanations.

It is about the following two popups that appear when you have activated IBL and enter "_BACKGROUND":

Prompt1.PNG

Prompt2.PNG

Or another way to set a transparent render background.

0 Likes