Nope... The closest I can get from these function with VBA is emulating the NEAREST osnap, but my splines are too much close from each other that this doesn't work properly :(
VB would be a better alternative for sure, it's faster and a lot more flexible, but the company I work at don't have any copy of VB, so I have to work with VBA, but even with all those calculations the code is not as slow as I thought it would be... :) Since it's not an application you'll run...
I tried that too, but the grid of splines is too dense to the NEA osnap work properly, that's why I used the numerical methods and did it independent of autocad tools :)
Hi,
The problem is that the coordinates I want are betwen the poins of Acad3dPolyline. :( I'm pretty sad that AutoCAD doesn't let you access this kind of data :(
I resolved the problem, but in a much longer way:
With the points of Acad3dPolyline I used polynomial interpolation and found the...
Migrate to Visual Lisp would be complicated. The whole application is already written in VBA, and I never programmed in lisp, so converting the code wouldn't be that easy since my application also use some API calls to interface with other software. I guess I'll have to live with the command...
Nope... because what I need is exactly the interpoled curves of the spline, which I'll loose if I convert to pline. I did what I want, but not in the best way. I use the SendCommand method to get the points with the NEAREST osnap, but since my application have around 10000-20000 iterations it's...
Yep... This was my first idea, but I don't know why some cases aren't considered as intersection. I used 8 decimal places and took the distance from the spline to the xline which should intersect the spline and the result was 0.00000000 although AutoCAD says they don't intersect :( That's when I...
Hi,
No... the closest distance is zero, but for some reasons autocad is not recognizing this as a intersection. So I'm trying to find out the Z coordinate of a point that lies on a 3d spline given the X and Y coordinates.
Thanks,
Rodrigo Basniak
Hi people...
Does anyone knows how could I get the nearest point of an entity of the point I inform using VBA?
Let's say I have a spline and in a top view I know one point (X and Y) which is really near it, and I need to know the Z coordinate of the spline there. I have a large experience in...
Hi people...
Does anyone knows how could I get the nearest point of an entity of the point I inform?
Let's say I have a spline and in a top view I know one point (X and Y) which is really near it, and I need to know the Z coordinate of the spline there. I have a large experience in VBA with...
I worked on a company that used the following naming system... I'm sure it's not that perfect naming system but it was the best i worked with, we had just a few problems with it.
9999-99-99
The four first digits are just a sequential and unique numbering system, the tow middle ones are thre to...