Export to dwg format

Hi,

I would like to export a series of points in “DWG” format with a grasshopper Caneva to be launched with a custom button in a tool bar.

I made a Caneva using TTToolbox Export CAD component, when launched the “Points.dwg” file is created but I have the message “No output contextual components in definition”, besides only one point is exported to the requested layer named “Points”, all others are exported in a layer named “Default”.

I made another Caneva using Pancake Export as component, when launched manually by the Toggle button on the Caneva the “Points.dwg” file is created, and all points are in the requested layer “Points” But when launched with the custom button in the tool bar I have the message “No output contextual components in definition” and no file is created.

I made another Caneva using eleFront Export Generic component, when launched it is supposed to work straight forward but a message unknown command is shown and a request for Export Scheme even though it is supplied by a panel on the “S” input. At the end no file is created.

I made another Caneva using a Python Script, when launched manually by the Toggle button on the Caneva the “Points.dwg” file is created, and all points are in the requested layer “Points” But when launched with the custom button in the tool bar I have the message “No output contextual components in definition” and no file is created.

Any idea about grasshopper behavior, my goal is only by pressing the custom toolbar button and answer by True to create the DWG file or False to abandon.

Thanks,
Export DWG eleFront.gh (8.5 KB)
Export DWG Pancake.gh (3.9 KB)
Export DWG Py.gh (5.8 KB)
Export DWG TTToolbox.gh (3.6 KB)
Points.3dm (41.9 KB)

I went through similar issue recently and gave up. Gh is capable of exporting curves mostly, no support for text and, afair, points too.
I ended up baking things to canvas and exporting them manually.

Thanks Piotr, I did the same for my personal use but I am developping tools to be used by non GH users so they can launch directly from Rhino window by pressing a custom button in a custom toolbar.
Hope sombody have an idea!!

If you are capable of creating such tool I can’t wait to see it in action.
It would be great to test it to make any comments about it’s functionality.


Export DWG eleFront_RevA.gh (14.5 KB)

Hi Rajeev,

Still dosen’t work, behaviour is the same as my original GH canevas.

Thanks.

In Autocad u need to change the point style to visualize the point

The file is not saved, when the caneva is manually executed from GH it works, but I said previousely I want it to be launched with a custom button directly from Rhino so any non GH user can use it.
In that case I have the message No output contextual components in definition and no file is saved.