Dexie Posted March 25, 2008 Share Posted March 25, 2008 I would like to be able to draw a POLYLINE with Break Line functionality eg. Break style, Break height, Break radius, space between breaks etc.so that I can draw a boundary line with a zigzag appearance that is editable. Does anyone have any ideas on how best to achieve this. Quote Link to comment
AlbertoB Posted April 18, 2008 Share Posted April 18, 2008 Create a 2D Path Object. The script must contain two parts First part is used to obtain the vertex of the poly you draw with your new tool. pHd := getcustomobjectpath(me); n := getvertnum(phd); FOR i:=1 to n DO BEGIN GetPolylineVertex(phd, i, vx, vy, vertexType,arcRadius); END; Second part is used to draw your "poly break line". Inside you must define instruction for drawing break styles. BEGINPOLY; FOR i:=1 TO n DO if vertexType=0 then Addpoint(vx, vy) END; ENDPOLY; I hope to be worthwhile... Quote Link to comment
Dexie Posted April 22, 2008 Author Share Posted April 22, 2008 I'm not sure how this works, being a novice with scripting. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.