Struggling to Set Visibility for Generic Annotation Family


Dear All,

I am struggling to set for ‘Generic Annotation’ family with ‘Element.SetParameterByName’ node.

The issue is, I am trying to set visibility to ‘false’ for parameter “3 Phase - MCCB”. But if I execute dynamo script 1st time then the visibility status is not changing to ‘false’ (It is remains as a true).

So I tried other way, I Freeze the node (as shown in ‘Image 01’) then executed dynamo & then I Unfreeze the same node (as shown in ‘Image 02’) then it works.

I could not figure out the reason.
Could you help me to resolve the issue.

Thank you.

Are you creating the instance in the same graph? Sounds like you’ll need a Transaction.Start and Transaction.End node in between if so.

Hello @jacob.small,

I used “Transaction.End” node & it’s worked.

Thank you for quick response.

1 Like