Snapping to 25%, 33%, ##% of a line's length
Snapping to 25%, 33%, ##% of a line's length
(OP)
Hello, another question!
Is it possible (through snap points or expressions) to draw a line that is a specified percentage of another line's length? I don't want to reference a specific line, but say, the line that is currently selected. I am making a UDF that is based on the selection of a line and want to generate a line that is a certain percentage of that line.
Thanks,
James
Is it possible (through snap points or expressions) to draw a line that is a specified percentage of another line's length? I don't want to reference a specific line, but say, the line that is currently selected. I am making a UDF that is based on the selection of a line and want to generate a line that is a certain percentage of that line.
Thanks,
James





RE: Snapping to 25%, 33%, ##% of a line's length
if you are sure you will deal with LINES only, one thing that comes into my mind is to create a first point entity at 0% length (t=0), then a second one at xx% (t=0.xx), then create a line between these two points.
Certainly in the myriad of UG tools there is something better than what I described...
Regards
RE: Snapping to 25%, 33%, ##% of a line's length
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
RE: Snapping to 25%, 33%, ##% of a line's length
Best regards
Hudson
RE: Snapping to 25%, 33%, ##% of a line's length
Cheers!
RE: Snapping to 25%, 33%, ##% of a line's length
Believe it if you need it or leave it if you dare. - Robert Hunter