Rename newly created Assembly?

How to rename an Assembly instance? The existing package nodes are not working for me.

The Python code I am trying: RenameRevitAssembly.py · GitHub

The Python code started from Tool.RenameAssembly in SteamNodes.

Maybe Type vs Instance is my problem.

Does anyone have an example of a graph that uses Tool.RenameAssembly?

Hello @truevis
insert a Transaction.End Node (to Start a new Transaction)

or use
TransactionManager.Instance.ForceCloseTransaction()

2 Likes

That worked, thank you. Why do I need that Transaction.End node there, but never anywhere else up to now?

I also had to make the Transaction.End after everything else was finished.

Hello @truevis
Renaming the assembly requires a separate transaction

1 Like