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...
Hello people... :-)
Well, new year new troubles :-) I'm experiencing a problem with BOM in SW2004 SP1: I create the BOM, then I make some operations, ie Print Preview, and then... SW double my BOM size adding another copy of each item in the BOM :-( And he continues doing that indefenitely...
Hi everyone... [thumbsup2]
Actually, I'm working for PETROBRAS making all the equipment and piping from an Fluid Catalytic Cracking Unit of one of their oil refinery. This is my first job with plant design using solidworks. I would like to know if anyone here have been using SW for plant design...
Hello,
I just upgraded to SW2004, and now, any of my files render properly :-( The PW option "Use Solidworks Materials" seems don't work :( All my files always renders in gray, even with "Overwrite Solidworks Materials" unchecked!!!! :(
Does anyone is experiencing the same...
Hi everyone...
I really have to change my GF4 :( That problem with SW is terrible... I'm thinking in one ATI video Card, that I think is the $$best$$ choice except GF, am I right? I'm planning to buy a ATI RADEON 9600 128Mb, but there isn't any test with this video card in the SW Support Page...
Hi people...
The place where I work bought the SW Piping Module, so I have to learn that :) That's easy... what I need is some tips from people who's using this module for a long time... techniques, management, organization, tips for making Piping BOM's, anything... If anyone coulp help I...