DesignScript
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Associate Scripts with elements
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I have some pre-built geometry, is there a plan to be able to get points or data from this geometry??
So by creation of a strong typed object and associate this to a parameter, rather then rebuilding the geometry.
I'm sure an entity handle or something like that could suffice, then geometry could be tightened up parametrically and reused with placeholder design or something else.
thoughts?
Re: Associate Scripts with elements
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
Thanks for your question.
At the moment we have the ability to import data from a CSV file, which could then be used within DesignScript.
However, better support for import/export of models is one of the areas we're interested in. Beyond placing the imported geometry is there anything else you have in mind that you would like to be able to do with it?
Many thanks,
Luke
Re: Associate Scripts with elements
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Luke I have looked at the CSV function I actually extracted some points from an AutoCAD table to csv so I could associate the data to as a class in design script which worked fine. Aside from using an existing object for transform options you have mentioned.
My first point would be getting an envelope or building shape from another package (Rhino, Maya, Max). I would like to be able to associate the object as a variable, to be able to extract the information out of that object.
First Priority Say for instance of placing placeholder points on a curved surface that has come in. Being extract data and reuse that information whether to get prints of technical information. - Versines, Tangents etc.... as well as use it to create points or other information from the existing source and then use that data for some other purpose.
Second Priority I don't how this would happen exactly, some sort of existing reverse engineering geometry class that recognises points, lines, solids, surfaces and breaks it all down and allows us to initialise these then manipulate them. but I am sure you tell this object to be recognised as a solid or multiple surfaces it need be and AutoCAD can attempt a conversion, and make a duplicate.
A real simple example would be making a randomised form more rational quickly by adjusting values rather than rebuilding the shape. If a copy of the existing element is made then tweaks can be me and visual comparisons can be done quickly. However this would all have to take place in the back end and not clutter the file with objects similar to the vector class.
Definitely wouldn't be easy reverse engineering, but with some user controls on the methods and constructs of the process I am sure users would be able to do quite a lot. Even a simple extract or all points and surfaces and create a variable for each etc...
We can use the functions already inplace to build the object back to a solid or surface if required. I could people develop scripts that analyse various rationalisation of the geometry and any number of saved scripts could applied to such forms to extract or use the form as a starting point to build upon.

