AutoCAD .NET :: How To Take Dimensions And Dimension Unit Using ObjectArx SDK
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.
I have had a request to display imperial dimensions using a unit string "in." (no quotes). The default Inventor 2011 display does not include the period. Can the default be modified, or a new option added to the list?
I have a group of dimension objects gather up by a selection set (objSS). I can screen each one one of these dimension by the lines
Dim objDimStyle As AcadDimStyle For Each objDimension In objSS ' ' Next
How is possible to assign the property Dim Style to each one of my objDimension to an Style that I have already created? I can not find this property available for my objDimension.
In AutoCAD 2013, when I try to select a dimension object for moving, erasing, &c, the text disappears. How to get it to stay displayed? Seems to just be when using AutoCAD 2013.
I'm adding in inspection dimensions for a PPAP submission drawing and have found that I cannot set hole and thread dimensions as inspection dimensions. I'm quite surprised to find that this option isn't available. Is it there, just hidden, or is it really not available to me?
To the top right of this picture is the inspection dimension I want and to the left the thread dimension which I can't get into this format.
For my dimension style, I have my text placement set to over dimension line, with leader, so I can drag the actual text outside the dimension line with a leader attached when necessary, but when I try to move the text outside of the dimension line it always draws the leader underlining the entire piece of text that I have moved. Is there a way to control the leader to attach to the middle of the line and not underline the entire piece of text when doing this operation?
How to scale drawing with dimension lines without changing dimensions in dimension lines? I got drawing with correct dimension lines but geometry is wrong.
In 2010 and previous releases I recall being able to show the feature dimension by right clicking "Show Dimensions" and then being able to double click on any visible dimension and change its value. I don't see this behavior in 2012. Is there a setting to turn this on?
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.
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?
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'm currently trying to dimension my working drawings, I was wondering how I could change the colour of the dimensions and dimension text so it stands out from the drawing.
Is there a way to get the dimension text to highlight along with the actual dimensions, without having to directly select it after pulling a dimension off of an object? CAD Tools 7 automatically highlighted it.
When printing, does the printer follows the bleed dimensions or my original dimension?
So if it follows the bleed dimension, (For example.) I want my name card to be 85mm x 45mm with 3mm bleed, my inital dimension (when being created) have to be 79mm x 39mm (due to minusing off 6mm on both sides)? Am I right to say that?
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.
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.
I was adding a lot of aligned dimensions to a drawing and some where along the way they changed from aligned dimensions to rotated dimensions, even in the same string of dimensions.
I'm trying to add a new unit's type for a specific drawing.
Is there any way to add one with its corresponding calculation parameter?
Under the "Style and Standard Editor" Panel i cannot modify it.
The End result is to display a " Symbol after the first Units instead of the in unit (see enclose picture that i manipulated to display the end desired result).