CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.097.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedPolyline Matchprops

 Post Reply Post Reply
Author
1616syd View Drop Down
Newbie
Newbie


Joined: 17.Apr.2013
Location: United Kingdom
Using: AutoCAD Architecture 2014
Status: Offline
Points: 16
Direct Link To This Post Topic: Polyline Matchprops
    Posted: 29.Jan.2014 at 21:53
Hello Kent
Many thanks for considering my problem again.
The objective of the routine would be basically to match properties of
simple arrowheads created from polylines; so other considerations which
you so rightly have outlined, however, need not apply in this case.
Moreover, I do like your second method as a solution which will achieve the same thing,
and indeed would probably include for a greater variety of polyline shapes,
without interrogating all the properties.
Kind Regards
Syd
SydUK
Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 686
Direct Link To This Post Posted: 29.Jan.2014 at 21:21
If you're talking about an arrow that's made with a Polyline having a first segment that's zero width at the tip and wider at the other end, then a "shaft" that's narrower than the wide part of the head, I imagine that could be done, but it would be complicated.  You'd need to dig out the width entries for each vertex and substitute them into the right places in the target Polyline.  And if the arrowhead length is not the same, you'd need to move the second vertex of the target Polyline.  I'm not sure I'm ready to think about what to do if the Polylines don't have the same number of vertices, unless you're talking about matching only width and length characteristics of the first segment, even if there may be different numbers of "shaft" segments that could otherwise remain as they are.
 
In the case of the same number of vertices and general configuration apart from differences in arrowhead length/width, consider a routine that I think would be much easier to create:  one that would Copy the source Polyline arrow to the position and orientation of the target Polyline, and Erase the target Polyline.
 
A drawing or image showing what kind(s) of matching you would want to do would be helpful.
Back to Top
1616syd View Drop Down
Newbie
Newbie


Joined: 17.Apr.2013
Location: United Kingdom
Using: AutoCAD Architecture 2014
Status: Offline
Points: 16
Direct Link To This Post Posted: 28.Jan.2014 at 16:22

Has anyone got a lisp program to match all properties of a selected polyline to that of a target polyline,
such that, say an polyline arrow can be matched to another arrow of a dfferent length/shape etc.
Kind Regards
Syd

SydUK
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,078 seconds.