albandechasteigner / GeniusLociForDynamo

Genius Loci is a package of 350+ custom nodes for Dynamo in Revit.
MIT License
45 stars 10 forks source link

Curves FromHatch #19

Closed boiiinng closed 1 year ago

boiiinng commented 1 year ago

I am getting a null response when using this node even though the cad link has hatches in it. Is there something I need to do to the hatches in the CAD file?

albandechasteigner commented 1 year ago

Hi, Can you had a picture of your graph, your Dynamo graph and your cad link to this topic ? There can be multiple causes and to provide accurate help I need more information.

boiiinng commented 1 year ago

I've attached the graph, and a couple dummy files. The DWG has just one rectangle and a hatch pattern. It is linked into the Revit file in a drafting view. CADHatchImport.zip

albandechasteigner commented 1 year ago

Hi, Thanks for the report of this behaviour and for the files. The custom node did not work with item lists. You can use the longest lacing or replace it with the updated node : https://github.com/albandechasteigner/GeniusLociForDynamo/blob/master/Nodes/Curves%20FromHatch.dyf CADHatchImport2 CADHatchImport v2.zip

boiiinng commented 1 year ago

I replaced the dyf file but it's saying "Error: Custom node definition is not loaded!"

albandechasteigner commented 1 year ago

Hi, You need to click the Raw button and right click save as to properly download the custom node. I updated the package (now version 2023.1.23) which will eliminate node replacement. The updated node now works with list of items.