Lee Mac Posted May 24, 2009 Share Posted May 24, 2009 I can send you a copy if you'd like ^^ PM'ed ^^ :P Quote Link to comment Share on other sites More sharing options...
khoshravan Posted July 12, 2010 Share Posted July 12, 2010 Attached is the source code as well as a compiled dll if anyone is willing to give it a test drive. http://www.cadtutor.net/forum/showpost.php?p=233991&postcount=34 Sorry for newbe level question. I DL your file. How can I use (perhaps import) them in ACAD? Also you put the source code in a txt file. Is it easier to use it comparing to dll file? How can I use this one? Quote Link to comment Share on other sites More sharing options...
SEANT Posted July 12, 2010 Author Share Posted July 12, 2010 The DLL is more easily used. It is loaded via: Command: [color="green"]netload[/color] Browse for CsParabola.dll Then, to run the commands either: Command: [color="Green"]pvf[/color] For parabola via vertex and focus selection, or: Command: [color="green"]pbb[/color] For parabola by bounding box selection. I haven’t been able to test this on AutoCAD 2007. Please let me know how it performs. Another note; Direct Distance Entry is not yet implemented. Quote Link to comment Share on other sites More sharing options...
khoshravan Posted July 12, 2010 Share Posted July 12, 2010 I haven’t been able to test this on AutoCAD 2007. Please let me know how it performs. I tried it but it gave following error message: Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue. Exception has been thrown by the target of an invocation. Details Continue I clicked continue but it returned the command prompt. In detail it says: Application does not support just-in-time (JIT) debugging. See the end of this message for details. It it goes OK, is it necessary to load it each time? Quote Link to comment Share on other sites More sharing options...
SEANT Posted July 13, 2010 Author Share Posted July 13, 2010 One detail that I failed to mention is that CsParabola.dll needs to be on a local drive (not run from some server location). I’m not sure, though, if that is the problem or not. The only way to know with certainty is to debug the code with AutoCAD 2007. The only version I have available is 2009. If someone has Visual Studio 2005/2008, along with AutoCAD 2007, and is willing to give the routine some attention, I’ll gladly upload all project files. Quote Link to comment Share on other sites More sharing options...
khoshravan Posted July 13, 2010 Share Posted July 13, 2010 One detail that I failed to mention is that CsParabola.dll needs to be on a local drive (not run from some server location). I’m not sure, though, if that is the problem or not. . I have DL the file to my laptop and opened it. I do not use it from a server location. Rasoul Quote Link to comment Share on other sites More sharing options...
SEANT Posted July 13, 2010 Author Share Posted July 13, 2010 What does this statement mean exactly? It it goes OK, is it necessary to load it each time? The DLL would require loading for each new launch of AutoCAD. The routine would then be accessible to all loaded drawings. .NET DLLs, like ObjectARX routines, can be set up for Demand Load (i.e., loaded the first time the command is called). It does require a change to the system registry on the user’s computer. I haven’t gone that route yet as I suspect that may cross bounds set by IT dept. Quote Link to comment Share on other sites More sharing options...
gile Posted July 13, 2010 Share Posted July 13, 2010 Hi Seant, The error is due to the fact the Dimension.DynamicDimension property isn't available in the 2007 SDK. Quote Link to comment Share on other sites More sharing options...
SEANT Posted July 13, 2010 Author Share Posted July 13, 2010 Ah yes, that would do it. I’ll look into removing that for a 2007 compatible version and post it when ready. Thanks, gile. Quote Link to comment Share on other sites More sharing options...
khoshravan Posted July 13, 2010 Share Posted July 13, 2010 It it goes OK, is it necessary to load it each time? Sorry for miss print The correct is: If it goes OK, Quote Link to comment Share on other sites More sharing options...
SEANT Posted July 14, 2010 Author Share Posted July 14, 2010 Here is a re-tooled version that will (hopefully) run on AutoCAD 2007 through present. Any feedback will be appreciated. Parabola_2007Comp.zip Quote Link to comment Share on other sites More sharing options...
joeshardow Posted April 30, 2021 Share Posted April 30, 2021 Hi, thanks for your sharing. But I cannot right load the plugin into CAD2021 version. After the netload command, there is nothing happened. the command pbb and pvf cannot be found either. Quote Link to comment Share on other sites More sharing options...
SEANT Posted April 30, 2021 Author Share Posted April 30, 2021 (edited) I do do not have access to ACAD 2021 version - to know for certain - but I suspect the routine will work fine. The first thing I would recommend is UnBlocking the file. That is a MS Windows requirement for all 'DLLs' originating from outside locations. Edited May 1, 2021 by SEANT Fixed Typo Quote Link to comment Share on other sites More sharing options...
SEANT Posted April 30, 2021 Author Share Posted April 30, 2021 As a side note - this thread goes way far back. Over 10 years ago. Back when there wasn't even a dedicated category for .NET automation. It's location in the AutoLisp forum may seem rather odd. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted April 30, 2021 Share Posted April 30, 2021 1 hour ago, SEANT said: As a side note - this thread goes way far back. Over 10 years ago. Back when there wasn't even a dedicated category for .NET automation. It's location in the AutoLisp forum may seem rather odd. Moved to .NET, ObjectARX & VBA Forum. Quote Link to comment Share on other sites More sharing options...
joeshardow Posted May 1, 2021 Share Posted May 1, 2021 (edited) Quote I do do not have access to ACAD 2021 version - to now for certain - but I suspect the routine will work fine. The first thing I would recommend is UnBlocking the file. That is a MS Windows requirement for all 'DLLs' originating from outside locations. Thanks for your kindly reply. I think I didn't block the routine files. I unzip the file and get CsParabola.dll and CsParabola.pdb, and use the netload command to load CsParabola.dll. After run the command of "netload", there is not any message about the load result. Then I try to input the command "pbb" and "pvf", but it seems that there are no such commands. I suppose the netload command didn't succeed, and doesn't know how to deal with it. Sorry, I am a freshman to advance functions of AutoCAD, maybe this question seems silly. But I really need this routine to get a parabola shape. I would greatly appreciate your help Edited May 1, 2021 by joeshardow add the quote Quote Link to comment Share on other sites More sharing options...
SEANT Posted May 1, 2021 Author Share Posted May 1, 2021 9 hours ago, joeshardow said: . . . . I think I didn't block the routine files. . . . This statement is confusing. Ideally what should happen: Download the Zip file Using 'File Explorer', navigate to downloaded file and Unzip Navigate to the generated zip generated folder Right click on the DLL and select 'Properties' in the drop down menu - you should see something like the attached image Check 'Unblock' Move the DLL to the folder where your version of the 'acad.exe' resides (Usually something like Program Files - Autodesk - AutoCAD 2021) In AutoCAD, Netload the DLL from that file location. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.