Has anyone written a script that based on the endpoint of a line will search for other neighbouring lines or face edges within a distance tolerance and attempt to create a joined coplanar curve? This is a task I find myself doing quite a lot and it would be great if I could speed up the process.
Thx
Hello - SelChain
may help.
-Pascal
Hi
Selchain was what I was looking for, I had assumed it just selected all linked chains in the model…
I wrote the following simple alias for a command I do often:
'_Selchain ChainContinuity=Position Pause _Enter _Join _Enter
Unfortunately it will link all chains regardless of whether they are closed or coplanar. Has anyone seen something like this with error checking? Or even better curve rebuilding based on closing the loop and revising points to be coplanar?
Thanks
Ashley
Hi Ashley - Do you have an example of what you mean by this?
-Pascal
The closest would be the’ create complex shape’ command in microstation if it is set to automatic.
‘Automatic
_— After the first element is identified, and accepted, if endpoints of additional open element(s) are within the Max. Gap distance of each other, they are inclu_ded automatically until a closed shape is created. Where there is a choice of two or more elements (at the endpoint of an element) then the process lets you choose to either Accept the highlighted element, or Reset to see the alternative(s).’
http://www.mdlapps.com/microstation/ustnhelp284.html