I’m struggling with a script that i’ve been writing. What i’m trying to do is automate the viewport creation for assemblies. i’ve succesfully used the Tool.assemblyviews node for the basic views. but i found a python script to add other views (structural connections, structural rebar, …)
i can succesfully create the views but i always get the same error when i try to place the viewport on the sheet. ive tried the Viewports.create node from the crumple package and the rhytm package both with the same error.
Hi @niels.van.hove be sure the view isnt already placed…and try with a transaction end before your viewcreate…and seems you need input a viewport type as well