Hide import instance (CAD)


I would like to hide an import instance (.dwg) in a view.
I have successfully hide the instance in the view with the following script:

However, the visibility of the import instance in Visibility/Graphic Overrides is still checked, and I can’t unhide/ hide the import instance in the view anymore.

Any thoughts on how to solve this?

Many thanks.

Hi @ddd-team,

Try this instead :

The ImportInstance is a category and not an element in the view.


Hi @Alban_de_Chasteigner,

Thanks for the help! I have modified the script to hide all the import instance in a project.