LetsConstructIT / Grasshopper-TeklaDrawingLink

Grasshopper components for interacting with Tekla drawing area
MIT License
50 stars 6 forks source link

Feature request: Rebar group dimensioning #29

Open dandad36 opened 5 months ago

dandad36 commented 5 months ago

Hi Grzegorz, thank you for the great workshop you had :). Now that the rebar line position feature has been added, I would like to request a function to add rebar dimensioning as well. We need the rebar dimensioning to show the range of the rebar group and other info. It cannot be done in macro since we have to click to provide the location. This is a lot of manual work since each bar group needs to be click to add its dimension. image

olszewski-grzegorz commented 4 months ago

It's impossible with the pure open API :/ Those objects are seen as normal dimension lines, but of course they have different properties and completly different way of insertion.

So, ... macro-way is the only possible. But as you noticed, to properly insert them from the UI you have to click location point.
In the old Tekla-times, macro recorder was also preserving clicked points. Now, they are not saved, but they can be still .. invoked.

Please look into the sample macro (I had to change the extension, to properly see it in the Tekla you have to change it to .cs extension): TestDimRebarMark.txt

It will be very hard to create a stable Grasshopper workflow with this approach. There is no possiblity to map screen-pixels into the real locations in the drawing views. So it's mainly guessing about the far-away points to have this dimension lines somewhere placed. Then, they should be get with the Grasshopper and their location should be adjusted (currently, modify dimension line component is missing).

How much you care about this way of working? Can you provide just sample screenshot of your view with those rebar groups? Are you thinking about the GA drawings or some CIP/CU elements?

dandad36 commented 4 months ago

I think the macro you provided is a big step fo the workflow already and having modify dimension lines will be the final step. This will save a lot of time since we usually have a lot of reinforcement in many concrete parts. I'm thinking of doing it in GA drawing but I've also did it in CIP and A drawing before. For example: image this is what we have at first with many rebar groups image after moving them to place, we will have to add each dimension line for each group