I need help writing a script/tool for select multi close curves and caculat dim area each of curve sepratly and change color of each curve that is lower than choosen value


(Parstondarmamutha) #1

I need help writing a script/tool for select multi close curves and caculat dim area each of curve sepratly and change color of each curve that is lower than choosen value

i want combin two comand of rhino dimarea and color change for create new customized comand for automate calculating area of houses in dxf plan file

my basic broblem is area dimentional comand only work for one curv in same time i want change this comand for use same time for more then one selected curve
when i edit this command in secend step i combin this command with chang color comand

https://discourse-cdn-sjc1.com/mcneel/uploads/default/original/3X/7/b/7b1a2885a23f0e7a9e6afd012553386274eb129a.mp4


#2

If you’re not experienced in writing scripts, you can make such tool easily using Grasshopper and Elefront plugin. I would be able to write it for you, if you don’t mind using Grasshopper.

Cheers,
Jonas


#3

Hi,
try if it’s enough.
Instead of dimension only text is added, so without leader.

AdaCol

You can change values on:
Updatet Script: ADaCol.rvb (1.7 KB)

Row 12 ’ Font size
Row 13 ’ Rounding decimal
Row 14 ’ Comparison factor
Row 15 ’ Color red
Row 16 ’ Color green
Row 17 ’ Color blue


(Parstondarmamutha) #4

tanke you


#5

I have updated this script, attached in previous post.
You can use it as command > AdaCol
Dimension text ist aligned to center


(Parstondarmamutha) #6

tanke you sir for spent time for me