I just started getting used to the basic ideas of Dynamo and wrote my first scripts. This time however, it looks like I’m way off and far from a solution.
I’ve made an excel list with assembly names, sheet names and sheet numbers. I split the list, used the three outputs as input.
However, my script does not create any assembly at all. It looks good until the ‘assembly instance create’ node. I’ve been wondering for some days what i’ve been doing wrong, tried some other solutions like the ‘tool create assembly’ and tried with and without using a level on the ‘assembly instance create’ node, but this doesn’t help either.
Thanks for the fast replies! The node I’ve been trying to use is indeed from the package with the 1.2.2 version, while I’m using Dynamo 2.0. I tried to edit the node but this doesn’t seem to work…
I also tried the solution suggested by @Rabindra_Adhikari , but this didn’t work either.
I tried again but it didn’t work out… I took a closer look to the ‘tool create assembly’ and this is how the costum node is made. Not sure, but could this be the problem? If so, how can I fix it?
So, almost a month later I haven’t solved this problem. I think the problem lies within the python script of the Assamblyinstance.create node, I can’t think of any other problem. However, I’m not familiar at all with Python, so I hope that someone can help me out with this one!
if was_created:
if t.GetStatus() == TransactionStatus.Committed:
t.Start("Set Assembly Name")
assembly_created.AssemblyTypeName = str(IN[0])
t.Commit()
else:
assembly_created = "Assembly couldn’t be created. Ensure assembly can be created through the UI or contact us for assistance."