I'm drafting flat patterns and need to adjust shapes until one curve of the shape is equal to a specific length. I need to do this repeatedly. Currently I have to break the shape apart at its nodes, select the curve of interest, view its length properties, then Ctrl-z back until the shape is whole, adjust the size of the shape, then repeat the whole process over again to see if my length is closer to the goal.
What I need is a way to view a live curve length (length between 2 nodes along a curve) without disassembling a shape. I haven't found a method, feature, or macro for this. Any advice?
try took here
https://community.coreldraw.com/sdk/f/code-snippets-feedback/53870/how-can-one-get-the-size-of-a-selected-subpath-without-breaking-apart/257716#257716
I developing a macro with such a feature
I use this one in conjunction with another to get the CurveLength of a line segment. I do like the idea of a "live" reading though.
Sub SubPathLength() Dim s As Shape, x#, y#, w#, h# Set s = ActiveSelection s.Copy ActiveLayer.Paste ActiveSelection.GetBoundingBox x, y, w, h GMSManager.RunMacro "JH_curvelength", "JH.CurveLength_inches" ActiveSelection.Delete End Sub