Hello, I am trying to finalize a script to export a batch of sheets to dwg using Data-Shapes and Genius Loci nodes, but it doesn’t seem to be doing anything.
Here is the script:
And this is the error I get:
Thanks for any help!
Hello, I am trying to finalize a script to export a batch of sheets to dwg using Data-Shapes and Genius Loci nodes, but it doesn’t seem to be doing anything.
Here is the script:
And this is the error I get:
Thanks for any help!
Hi @Paloma,
This is a matter of list levels.
There is probably somewhere a list of list connected to the input DirectoryPath or Filename.
Use a Flatten node or set the lacing to longest on the Export DWG in Document node.
Hello Alban,
Thanks for your answer.
I have added a list.flatten node here:
And have changed to longest on the Export DWG in Document, and what happens is that just the first sheet in the batch gets imported… Really strange!!
That also happens without the list.flatten node.
Any ideas would be welcome, but thank you anyway
Can you show all the inputs of the Export DWG in Document with the previews enabled ?
I can see only the FileName input and not the Directorypath and the Views inputs.
Anyway try to add a Flatten node after your filename codeblock.
Alban, that (adding list.flatten) did the trick!!
Thanks a lot for your help
Have a good weekend