Hi I am trying to set the view scale in a newly duplicated sheet, but this Sheet.GetViewports node isnt working. So I dont seem to be able to even get the view scale from a view. Is this even possible? Or is it not exposed in the Revit API? Thanks
Hi @mix
Remove Lacing from “Element.SetParameterByName” then your good to go to get view scale.
Hey, I cant seem to get mine to work like yours. Please see below
@mix could you show watch node for “Sheet.GetViewPorts”
It says “null”
Do you have views placed on that sheet?
Yes there is.
@mix Try this dyn file for mix.dyn (4.2 KB) connect your sheet with python.