All,
In DYNAMO, if I want to translate geometry – both location AND orientation, I can
- use coordinatesystem.transform and/or coordinatesytem.rotate to create the new location/orientation and then Geometry.Transform to move the geometry where I want it. This is nice because on can have the geometry in both locations, and can have the freedom to turn off the original geometry. This is also nice because if I were to perform this operation multiple times (ie translating a CS 3 or more times) I have a snapshot of the geometry AND its CS at each point in the transformation and can access and/or extract it for use. Almost like each CS functions as a ball joint-- like a Revit Reference Point.
I can also do the same with a code block and Design Script. Awesome.
But how far can I take this code block? Can I turn off visibility of the geometry and/or cs at different points in the transformation if the whole sequence happens inside a code block? Right now, when I select the code block it highlights ALL included geometry and cs. When definitions get really complex, it’s important to be able to hide the process in the preview window.
Cheerio.