Set Crop Region Visible or Not Visible For Section


#1

Hello Guys,

I have created dynamo script to ‘Turn On/Off’ crop region visibility for sections.

But it is giving ‘warning: Internal error, please report: Dereferencing a non-pointer’ at node ‘Element.SetParameterByName’.

Could you please advise me?

FYI: I am using Revit 2015 & Dynamo 1.2 version.

Thank you for your help.

Set Crop Region Visible or Not Visible For Section.dyn (14.1 KB)


#2

value should be 1 and 0


#3

Hello Lucifer,
Thank you for your advice.
I tried your solution but no luck.


#4

should be feeding element not value


#5

Hello Lucifer,
Thank you for quick response.
I tried but showing same warning.


#6

show your current graph


#7

Hello Lucifer,

My Apologies.
Initially i misunderstood, Again i tried your solution & it is working properly.

Thank you again for your help.

See below image without warning.


Set Crop Region Visible or Not Visible For Section_Warning Resolved.dyn (9.1 KB)