AutoCad :: Adding Layer On Received Drawing - ObjectARX Missing
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.
I am trying to add an entity on a new drawing (document) with a new layer.
Following is the code snippet I have right now. Â [CommandMethod("TEST")] public void Test() { Document newDoc = Application.DocumentManager.Add("acad"); Database db = newDoc.Database; DocumentLock docLock = newDoc.LockDocument(); try { using (Transaction tr = db.TransactionManager.StartTransaction()) { BlockTable bt = tr.GetObject(db.BlockTableId, OpenMode.ForRead) as [code]..........
PTPUtils.CreateLayer() method creates a new layer in the given DB. However, the code gives me an "eKeyNotFound" exception in the line p.Layer = newLayer.
If I remove the p.Layer line, the code works very well. But the entity only goes to the default layer "0".
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 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 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.
this is my problem: Â Pic 1. I have an image I want to use as a background, however the image is not complete. I need a part of pic 2 to fullfill it.
Pic 2. The colors around the object doesn't match the colors of Pic 1. Â Normally it would be best to cut the object out. However in this case it wouldn't look nice (the object is mixed out (in color) with the rest of the image). If I cut out something the object won't look "proper".
My question: Â How can I blend pic 2 on pic 1, using the original object from pic 2 (as it is), and at the same time blend the colors around it, so that it matches that of pic 1 / or simply remove it somehow?
I received a dwg plan in xref and the client whats me to make some changest to the plan what would be the best method of doing this? I tried xref editing and was able to make the changest but now it won't plot.
We have received files that is suppose to be Elevations and terrain models we do not know how to view them. These files are in folders named Digital_ Elevation_Model _(DEM) and Digital_Surface-Terrain_Models_(DSM-DTM) the files inside the folders are as follows
I have a drawing of a floor plan, and on a separate drawing I have text that I need to add to the floor plan drawing.
I've used the XREF command and positioned it exactly where it needs to go, but I can't edit the text drawing unless I "Open XREF in place"
I got close by going to the XREF dialog and "Binding.." the drawing as an INSERT and now it's one huge block.
I'm trying to insert the drawing with the text on the drawing with the floor plan so it's one drawing and so I can edit the text or move things around if I need to.
Is it possible to add materials to a 2D drawing? I'm working on a floor plan and would like to add flooring materials to it but not sure how or if this is possible?
I bought the upgrade to Photoshop CS4 (download version) two weeks ago or so. I installed and used with success...then today I happened to look at the Blue Panel that comes up when the program opens. I was surprised to see "Photoshop CS4 Extended" just below the large Ps at the top of that panel. Knowing that the "Extended" version is more expensive...I called customer service and spoke to a lady (sounded like she was from India) who asked me a number of questions, including my serial numbers. She told me I had the regular version, but only because the serial started with a 1045- and she said the extended version started with a 1033 or something like that. I asked her if the regular version had the word "Extrended" in the startup panel...she didn't seem to understand my question but reiterated that because of my serial number I had to have the regular version. Hence my post here...asking if others with the "regular CS4 version have the word "Extended" in the startup panel. I know it might be trival,
I have a drawing with the x and y as grid references, I have an excel spreadsheet with point information with grid references which are within the range on the drawing. How do I put the excell info onto the drawing?
I have recently run across an odd issue when adding text to a drawing in Civil 3D. Â The problem comes with creating a new text item in an existing drawing. Â In this drawing, if I insert a text object, Civil freezes up for several minutes. Â Once it is un-frozen, the text pops up as it should and everything works as normal. Â This happens for both single line and multi line text, with any of my text styles, and across all layers that I have tried. Â Other regular drawing objects do not cause any problems, and there are also no problems editing any existing text objects. Â
To troubleshoot, I have created new drawings and added text, but they do not have problems. Â I have also opened other existing drawings, but no problems with those either. Â I am worried that the drawing file may be corrupted, but audits and recovers don't show ay errors, and I have purged out everything not in use.
The strangest part is that if I open the same drawing in Map 3D, I have the same text insertion problems, but when I open it in plain CAD or in Raster Design, the text will insert with no problems. Â
I'm having trouble adding a plot stamp to my drawing in AutoCAD 2002. My drawing is in meters and the page in paper space is 0.841m wide by 0.594m high. I can not figure out the setting for the plot stamp to put it in the bottom left corner. This is my first time trying to use a plot stamp so things will need to be explained most likely.
I was adding text and leaders to a drawing and after the text was entered I pushed the escape key. It then asked me if I want to save my text. It also had a check box asking me if I always want to perform that so it wouldn't keep popping up with that question. Well, I had checked that I didn't want the text and I also checked the box to always perform that answer. And now it won't save any text that I write. It just keeps the leader. How can I get the text to stay and undo the box that I checked to always answer that way (to not keep text)?
I created a macro to insert layers with a click of the button. I was wonder how I get my macro to add the linetype to it. Also would like a separate macro to make the layer not to plot.
Here is the Macro I'm using:Â ^C^C-layer;new;A-ANNO-AREA-IDEN;color;6;A-ANNO-AREA-IDEN;;
How can I add a custom layer for ballooning changes on inventor drawings while the parts are being developed. The changes need to be tracked. After the parts are released the ballooning is removed from the drawing and the basic revsions take over after that. It would be great to be able to do the ballooning of the changes with a specific line that is placed on this layer. Is there a way to accomplish this?
When I try to upload a gallery, I recieve the following error message: An error occurred sending the file: a response was not received in time.How do I correct this?
I have written a program that basically replaces certain mvblocks, tags actually, in several drawings, the purpose being to change the displayed label of an object.
I have just 2 of the 3 affected drawings open and just 1 of those 2 is acually active at the time the program runs.When I run the program the tags in the open and active drawing get replaced fine.
The tags in the open but NOT active drawing appear unchanged but a "regen" causes them to go away but the new tags do not appear, if I save, close, and reopen the drawing, as the drawing is reopening I see the new tags but the label text is offset and just prior to the drawing being fully open (back at "command" prompt) the tag text does move to its correct location. a save now saves the drawing correctly so on subsequent openings everything is correct.
The tags in the unopened drawing, when I do open it, once again, I see the new tags but the label text is offset and just prior to the drawing being fully open (back at "command" prompt) the tag text does move to its correct location. a save now saves the drawing correctly so on subsequent openings everything is correct.
Regardless of the state (open, unopen, active, inactive) I am running each drawing through the same subroutines to delete the old tag and put on the new as I am passing the drawing DB to the subroutines, the only difference being that I am putting a document lock on the open drawings documents before I start the subroutines.
I do have the CommandFlags.Session flag set on the command that launches the program. So, what am i missing that the new tags are not showing up in the open but inactive dwg until the drawing is saved and reopened, and then in both, open and inactive and the unopened dwg the label text appears offset until the dwg opens completely?
inserting or adding an image to the drawing file.. i ve the reference point and the bmp file path.. but the error "Run-time error '-2147467259(80004005) Method 'Add' of object '_IRxSketchImages' failed" is flashed.
I am adding a center aligned attribute to a drawing that is not open in the autocad editor. the alignment works if i call the function from the main thread like this. Â [CommandMethod("center")]public void Add() { Do.AddAttribute(); }
But if the method is executed on another thread (which it is when handling a msmq message) then the attribute is added but the alignment doesn't display even though the property is set (and can be verified in the attribute editor).Â
How can i get the attribute alignment to work in another thread?
code is below:
public class Do { public static void AddAttribute() { var path = @"c:WAM444B4-002.dwg"; using (var database = new Database(false, true)) { database.ReadDwgFile(path, FileShare.ReadWrite, false, password: ""); Transaction transaction = null; try {
I've just bought a copy of PhotoShop CS4 student edition and requested my serial number on Tuesday afternoon. It's now Friday evening and I still haven't received a serial number. How long should it take? Other than opening another help request on the Adobe site is there a way to chase this up? I feel really annoyed after buying the software that I have to wait all this time to use it. It says on the box that I cannot install the software without the serial number - is this true? Will it not go into a trial mode until I get the serial number? If anyone can suggest a way for me to move forward I'd be grateful as I have some school projects I want to get finished and I need to use this software.