AutoCAD .NET :: Using Sample Projects From ObjectARX
Oct 5, 2012
I want to use C# sample projects from ObjectARX 2013 to make dlls. How can I select them using Visual Studio 2010. When I try, the error message says give absolute path. Even if I give it, no response.
View 4 Replies
ADVERTISEMENT
Jan 25, 2006
how can I get ActiveUCS by objectarx
View 3 Replies
View Related
Jun 5, 2012
At the office we're still using AutoCAD 2010.To get the .Net API documentation one had to download ObjectARX 2010 and copy the help files to the help directory.
It seems, however, that ObjectARX 2010 is no longer available.where to get it, or do I have to download ObjectARX 2011? Would that work?
View 2 Replies
View Related
May 7, 2012
How ca I create a simple autocad map toolbar with one button with one button by using Dot net object arx(C#).
I do not want to use COM interface objects.
View 4 Replies
View Related
Jun 26, 2013
I have to draw a rectangle using ObjectARX but the problem is that i cannot find a method for the task, I found all kind of other methods like Line, Circle, ..... I managed to do it like that:
Point3d pointA = new Point3d(20,20,0); Point3d pointB = new Point3d(40,20,0); Point3d pointC = new Point3d(20,10,0); Point3d pointD = new Point3d(40,10,0); Line line1 = new Line(pointA, pointB); Line line2 = new Line(pointA, pointC); Line line3 = new Line(pointB, pointD); Line line4 = new Line(pointC, pointD);
But I thnk there must be a way to do it more easily.
I am still new in ObjectARX.
View 2 Replies
View Related
Jul 30, 2013
I need functions:
acdbEntGet
acdbEntMod
acdbEntUpd
of course, usingP/Invoke.
View 1 Replies
View Related
Jul 10, 2013
I am using ObjectArx with C# and I am wondering how to take the dimensions and dimension unit using the ObjectArx SDK. Is there possible way and what is the best approach.
View 1 Replies
View Related
Oct 11, 2011
I meet problem with autocad OEM, I don't know how to load arx in autocad OEM, I'm using visual stuido 2008 sp1 for building example arx and then i will load it in autocad OEM. I use command "arx" to load it, but it not work.I have a list arx files, i want it auto load list arx files when i start autocad OEM.I can't the way for it. i'm using AutoCAD OEM 2011.
View 5 Replies
View Related
Nov 4, 2012
We are civil engineering company, and most of out work is to get drawing from a civil architects and add our layer on that drawing, but when opening those drawing we get the message that there is ObjectARX missing, and from that point on our life become very difficult, we cannot copy paste objects, and lots of other basic action cannot be complete without crashing autocad.
I am using AutoCAD 2010, but i saw it happening with all the versions of AutoCAD.search for enablers are set on in Option.
View 6 Replies
View Related
Oct 12, 2011
I have bought an Easycap capture device and it is installed properly. However when I try to capture video from VHS I get the message "The sample start time is after the sample end time"
View 4 Replies
View Related
Oct 26, 2012
How I could use on of the sample Civil 3D API that is provided? In particular, I would like to use the Export to Excel Sample API provided at the following location during the install:
C:Program FilesAutodeskAutoCAD Civil 3D 2013SampleCivil 3D APIDotNetCSharpPipeDataExcel
I am not a programmer and can not just load this sample as it is a .cs file. How would I go about using the code already provided to create a plugin into my AutoCAD to be able to use this command?
View 3 Replies
View Related
Sep 12, 2012
I am new to .Net and trying to do some C# programming. Where can I find some Autocad sample code for download?. Also where can I get the following namespaces?.
Autodesk.AutoCAD.ApplicationServices;
Autodesk.AutoCAD.DatabaseServices;
Autodesk.AutoCAD.EditorInput;
Autodesk.AutoCAD.Runtime;
Autodesk.AutoCAD.Geometry;
Autodesk.AutoCAD.GraphicsInterface
View 9 Replies
View Related
Jul 3, 2008
I'm trying to create sample lines at sta. 0+58, 1+08, 1+58, 2+08......................
My alignment begins at 0+00.
In the Create Sample Lines - By Station Range I set the From Alignment Start?end both to false and set the start and end stations as 0+58 and 20+58 respectively. The 0+58 sample line plots at 0+58 but the rest of the sample lines plot at even 50' stations (1+00, 1+50...).
View 9 Replies
View Related
Oct 29, 2004
I followed exactly step-by-step showing in the program. After compile the DLL register the registry, run IV, I couldn't see the AddIn SampleToolbar in the Panel bar.
View 9 Replies
View Related
Jun 4, 2013
I have a road corridor and need to create sample lines at a 50m interval, as well as at every horizontal and vertical turning point. While the 50m stations and the horizontal turning points are easy to add (using the alignment), I can't seem to find where/how to add the vertical points (they have to be extracted from the profile).
Running the Feature Line Report I noticed the horizontal turning points are not used in the report: it only reports the 50m stations (so I guess the same will happen to the vertical points?).
how to add the vertical turning points to the sample line group and how to include both horizontal and vertical points in the Feature Line Report.
View 6 Replies
View Related
Dec 22, 2013
how to create a new sample line group and a new sample lines within that slg: URL....I have checked what is the default sample lines width (create sample lines command):
Autodesk.Civil.Settings.SettingsCmdCreateSampleLines SobreanchosSamples = default(Autodesk.Civil.Settings.SettingsCmdCreateSampleLines); SobreanchosSamples = civilDoc.Settings.GetSettings<Autodesk.Civil.Settings.SettingsCmdCreateSampleLines>(); Settings Cmd Create SampleLines SettingsCmdSwathWidths anchos = SobreanchosSamples.SwathWidths; double anchoIzquierda = Convert.ToDouble(anchos.LeftSwathWidth); double anchoDerecha = Convert.ToDouble(anchos.RightSwathWidth);
But how can I put these values (left width and right width) for a new sample line?Sample line class doesn't have "left width" or "right width" property ¿? Do I have to create a new vertex? However I think that I can´t add new vertex in vertex collection.
View 8 Replies
View Related
Oct 17, 2012
Why does my hatch pattern look different on sample in the hatch window and on the actual drawing?
I attached a picture where the top part is what it should look like and the bottom part is how it looks like on my drawing.
View 3 Replies
View Related
Aug 23, 2011
how to calculate or make take-off in 3D and sample of pricing..
View 5 Replies
View Related
Jun 29, 2011
I am working on batch processes and have some files with Embedded VBA Projects. This has spread to several files now because of our work flow - open an old file, save with a new name. Attached is the dialog that is displayed when the files are opened in the editor. I would like to "extract" the embedded macros in .NET. They do not need to be there and they interupt the batch processes. I know I could un-check the "Always ask before opening projects with macros" but I would rather extract / remove them.
View 4 Replies
View Related
Jul 12, 2012
how to add a path to a projects? We got a directory for single part, another one for assemblies and another one for assemblies of assemblies. When I make projects assembly, I need to bring parts for another directory and everytime i do this I need to resolve links.
View 1 Replies
View Related
Apr 17, 2012
Is there a way to join projects? I have different projects for a few different parts that I would like to make an assembly from.
View 1 Replies
View Related
Jan 9, 2013
I am trying to use object snap (intersection) to position the end of my sample lines at the intersection of the sample line with a polyline. The object snap works with sample lines left of the alignment centerline but not on the right. How do I correct this?
View 2 Replies
View Related
Apr 11, 2008
How or if you can add sample lines to a specified group? I created a group only to realize that there are some specific stations I need. I do not want to re-create the group and re-assign the materials nor reproduce my volume reports. I just want the section plotted on my sheets.
View 3 Replies
View Related
Jan 13, 2013
I have my surface, aligment and sample lines created, but I cant get my sample lines profiles.
The grid apperas without data, it is like I have never selected a surface, but I did !
This is what I get , totally empty
View 6 Replies
View Related
Oct 3, 2012
I want to make a dll from a sample project by selecting one as an existing project in visual studio 2010. My attempts get me to an empty file folder. How can I do it correctly?.
View 1 Replies
View Related
Aug 15, 2012
How can I sample more sources in my profile view? I added a new surface that I want to see on my profile, but it doesn't show the "sample more sources" option like the sections do..
View 2 Replies
View Related
Aug 29, 2013
I draw an alignment for road. I turned off design criteria and i used data from manual for my country Slovenia. I need spiral in, curve and spiral out on alignment. Finally i got that alignment. Then i insert sample lines along the alignment. Then i saved autocad civil 3d file and shut down the program. When i reopen file, i see that sample lines after the spiral in being erased. Sample lines stayed along first tangent, after that they were erased.
View 9 Replies
View Related
Mar 18, 2013
I have an Object ARX application where I consult a TIN surface for elevation samples. I need several thousand point's elevations in a straight line.
I have the surface declared as
CComQIPtr<IAeccTinSurface> mTINSurface;
And given coordinates (x,y) I can easily and successfully find the elevation using
//x and y are given double valuesdouble z;HRESULT result = mTINSurface->FindElevationAtXY(x, y, &z);
//+error treatment
This, however, takes a lot of time when I have to do it thousands of times inside a for-loop varying the x-coordinate. Reading the documentation on IAeccSurface I found the Sample Elevation method (I don't paste the link here, it's pointing to 'invalid HTML' and forbidding me to post). In the hopes of improving performance, this is what I tried:
SAFEARRAY* safearray;SAFEARRAYBOUND bound;bound.lLbound = 0; //zero-basedbound.cElements = number_elements; //does this define the number of samples?safearray = SafeArrayCreate(VT_I8, 1, &bound); //zero based, safe array of X,Y,Z doubles
CComVariant variant(safearray);variant.vt = VT_ARRAY | VT_I8; //type: safe array of doubleHRESULT result = mTINSurface->SampleElevations(x,y,n_x,y,&variant); //sample in line
This is what I took from the description given by the documentation; that the last parameter should be a "VARIANT containing a zero based, one dimensional safe array of X, Y, Z values. ". My problem is that 'result' is always E_FAIL - and I'm not sure why - and 'safe array' is filled with zeroes.
I have the following questions:
Am I passing the right parameters? I have little experience with VARIANT and SAFE ARRAY types.Does the entire Sample Elevation operation fails whenever a single elevation cannot be found? (I have sections without elevation information in the surface - I'm sure the first point (x,y) DOES have a valid elevation value, though). Would I really see performance gain by using Sample Elevation instead of multiple FindElevationAtXY, as I assumed?When calling Sample Elevation, I'm not entirely sure how the sampling is considered. Does the method recognize the size of the array and divides the distance between the initial point and ending point equally, resulting in that many samples?
View 3 Replies
View Related
Feb 15, 2013
I have an alignment with sample lines, I need to export these to a new drawing. i tried export/import land xml, but it did not work.
View 4 Replies
View Related
Jun 26, 2012
I can't follow the sample code when using c#
object selected; selected = oApp.ActiveDocument.SelectSet[1]; Inventor.ComponentOccurrence oOcc; oOcc = (Inventor.ComponentOccurrence)selected; Inventor.NativeBrowserNodeDefinition oNativeBrowserNodeDef; oNativeBrowserNodeDef = oApp.ActiveDocument.BrowserPanes.GetNativeBrowserNodeDefinition(oOcc); Inventor.BrowserNode oTopNode; oTopNode = oApp.ActiveDocument.BrowserPanes.ActivePane.TopNode; Inventor.BrowserNode oOccNode; oOccNode=oTopNode.AllReferencedNodes(....?
The sample code uses
Set oWorkPlaneNode = oTopBrowserNode.AllReferencedNodes(oNativeBrowserNodeDef).
In c# (and API-Help) it is AllReferencedNodes(Inventor.Browserdefinition Definition)
How to obtain the browser node definition?
View 1 Replies
View Related
Oct 18, 2012
Why the sample lines don’t appear on the prospector?
I’m wondering why the sample lines don’t appear on the prospector like other components such that we can have an access to delete them, for example.
How can I get a list for all the sample lines?
Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.
View 6 Replies
View Related