AutoCad :: Duplicate Attributes With Different Values?
Mar 24, 2011
Is there any way to have duplicate attributes in a block but with different values so when I use data extraction both sets of values will be sorted in the proper columns?
This is what I'm trying to achieve:
QTY.....ID.....#...........Description
1.........12.....POSCL....POS CABINET – LEFT
1.........12.....POSWL...POS WALL - LEFT
The block is for a unit that is made up of two fixtures (a cabinet and a wall with a counter top). Our customer uses the same ID for both fixtures and treats it as one unit, whereas our order form lists both the cabinet and the wall separately for production purposes. So both of our fixtures will have the same ID, but will have different product numbers and descriptions. In order for the information to show up in the table properly, I need two instances of an ID, # and Description attribute. If I use a different name for the additional attributes, I will get two extra columns.
View 0 Replies
ADVERTISEMENT
Jun 17, 2012
I need to change the value of some tags in a title block on multiple drawings. I tried using Lee Macs attribute changer [URL]. It works fine but not when tags have the same name.
I then looked at this code - [URL]
Idea was to change the tag names then use Lee Macs program. It too fails when there are duplicate tag names. It changes all tags not just the one I want.
In the the title block I have 3 tags with the name "NAME" but only one will have the value I'm looking to change. If I could place an IF statement some where in the above codes (or another code altogether) to instruct that IF the tag name is "NAME" with value "Dennis (BSL)" then change either the tag name or the value to "Daniel"
Im pretty bad at this programming stuff but with so many drawings I need a easier, automated way of doing this.
View 1 Replies
View Related
Mar 27, 2012
I am trying to create different bend tables for different thickness material. If I have two radii that are the same for different thicknesses it gives me an error message on the second one that it is a duplicate column heading value. The values of the bend table are dependent on the thickness of the material. Why can't I have several different thicknesses with the same radii?
View 1 Replies
View Related
Feb 20, 2012
it's possible to do a "global change" (values) to Attributes in MText?
I'm using 2010.
Those MText attributes are practical but a pain in the neck for my existing tools!
View 0 Replies
View Related
Mar 19, 2013
I have an interesting challenge. I am tasked with updating old drawings. The only difficulty that I've run into with the old files are that the TitleBlocks are all done with all of the attributes are named "SPEC". There are 90 attributes. I'm really struggling with getting each attribute's value and then storing the value to a variable so that I can then put that value into a new TitleBlock. The old TB will be deleted to avoid future confusion in the file.
(To clearify, the old TitleBlock is in model space, while there are actually nine new TitleBlocks all in seperate paper space Layouts, and this program may have to run on hundreds of files.)
getting the values from the Old TB. I need them in order of first to last or last to first (either way will work since I have the variable names in a list that can be reversed if necessary.)
simple function to read through the block's attributes in order and store the attribute's value to a variable name in the seperate list (also in order)?
View 5 Replies
View Related
Nov 4, 2011
I am using 2008 and I have a dynamic block with attributes that I want to insert with the below program and have the attritute values filled in automatically. I have done this with other programs in the past and they worked great with literally no problems. They were not dynamic blocks may be the reason this does not work. Why the block will not fill in the attributes like it should. Occasionally in my testing I see a message about "units" when I am inserting the block but I have my insunits set to 0. I have attached one of the blocks I want to use. I am thinking either you cannot do this because it is a dynamic block or there is a new variable that won't let it work.
(setq upisosym "L:/AcadUtilsJack/Programs/InsertIsoSymbols/ELL90BW_Flip_01" isosym "rat")
(setq upod "3" upsch "sched" upmatl "matl" uprat "400")
I found these two new variables and turn them off or 0 thinking they might be the problem???
(setvar "INSUNITSDEFTARGET" 1)
(setvar "INSUNITSDEFSOURCE" 1)
(defun c:JD ()
(setvar "attdia" 0)
(setvar "attreq" 1)
[Code] .....
View 9 Replies
View Related
Jul 18, 2013
I have an attribute blocks and this att block has two tag values , is there a simple code for to change 1st tag values automaticly according to 2nd values ?
for example :
1st tag (50x50) - 2nd tag ( 100 ) ==> 50x50-100
if i enter 201 valuse to 2nd tag then 1 st tag has to change as 100x100
if i enter 501 valuse to 2nd tag then 1 st tag has to change as 150x510
I attached a jpg file for explain much better
View 9 Replies
View Related
Apr 18, 2013
Is there a way to have no layer value set for the description keys. I set all the layers, and now I realize I'd rather set this to no layers (boxes are all unchecked). I'd rather see no value under the layer column, but there doesn't seem like a way to set this.
View 1 Replies
View Related
Dec 21, 2012
Can AUTOCAD sum values that are entered as text values? Attached is a table text whose right final values should be all sumed up? Is this possible inside AUTOCAD?
View 9 Replies
View Related
Nov 17, 2011
I'm working on setting up a process where I can bring AutoCAD drawings into GIS. I need to assign an attribute to a Polyline or Line so that the attributes can be viewed in GIS. I've noticed there is a way to convert AutoCAD to a SHP or SDP however I'm not familiar with this process.
View 1 Replies
View Related
Jan 23, 2012
From the attached image you can see what I'm talking about.
(left=original, middle=ROTATE, right=PROPERTIES)
When I rotate blocks using ROTATE command everything is fine, but when I rotate blocks using PROPERTIES my attributes get messed.
I need to rotate several blocks at once with PROPERTIES, because I don't have time to rotate each one separately.
The same thing happens when scaling blocks, but this was resolved using the command BSCALE in the command line.
View 5 Replies
View Related
Mar 15, 2013
I'm trying to show, using the eyedropper tool, the actual values of pixels in an 8-bit grayscale image (Mode command confirms that's what's there). In the Info panel, the eyedropper tool displays percentages for every type of color information (K, CMYK), while the "8-bit" field remains blank.
View 9 Replies
View Related
Jan 16, 2012
I am trying to locate duplicate polylines within a drawing of about 9000 polylines. I do not want to delete them, nearly locate them to compare on an in house program. I know there are 16 duplicate locations, but the drawing clean-up command only locates 2 of the 16.
View 5 Replies
View Related
Nov 20, 2012
Parts of my drawing were not allowing me to distance, dimension or trim them, so I suspected that some of the lines weren't flat. I just checked a troublesome line and it has a crazy Z value. I tried changing Start Z and End Z to "0," but that just moved the line to another place. When I put it back, the Z value changed back. If I'm able to grip points to dimension something, the dimension lines appear way below the points. Other parts of the drawing are fine.
I think I accidentally did something to the WCS, but I don't know what or how to fix this.
View 9 Replies
View Related
Jan 15, 2013
ObjectARX 2007 with C#
What would be the best way to remove duplicate points from DB?
I do not think iterating through the whole database and compare each point's coordinate would be the best way since it will take a lot of time if the points are many.
I once saw a CAD command that does it for me. (which I can't remember now)
Maybe I could use that command.
View 3 Replies
View Related
Oct 29, 2011
I want to find out duplicate line present in document which i have required to do curtain operations (e.g change of linetype, colour)on it. In my code, i am holding AcadSelectionset which contains number of lines which may or may not be duplicate line. I want to these detect duplicate line and also the original line. Currently i am doing this by checking start and end point of all lines present in selection set.
View 7 Replies
View Related
Aug 11, 2013
Is it possible to duplicate sheets and views with ilogic.
I coudn't find any module in the ilogic browser that does something similat to duplicating.
View 1 Replies
View Related
Feb 29, 2012
Im working on a grading plan and want to consider raising the site to cut down on my export of earthwork. What I would like to is take my PROPOSED SURFACE A and copy it along with the grading features to a NEW SURFACE B. This way, if B doesn't work out, I can go back to A.
Im assuming I need a new surface and a new site?
View 9 Replies
View Related
Apr 4, 2013
I am a surveyor who wants/needs to perform survey adjustments on our data and from what I can tell this will require us to use FBK files generated from our TDS RAW files. Easy enough, but I am running into problems during import because when our field crews shoot a bad point or need to fix a point code they will overwrite the "bad" point with the "fixed" one.
when I go to import the points via FBK apparently the system doesn't realize these points were overwritten and I get duplicate point errors. This in itself isn't that big a deal except that I am only given the option to ignore the duplicate point (no overwrite, renumber or anything) which leaves me with a bunch of bad points, bad codes, etc. Sifting through the fbk to find the problems has proven dificult and time consuming.
Is there any way around this problem? we can bring our RAW files into other software (Carlson Survey, Trimble Business Center specifically) and everything works fine but we would rather not use extra software just to do survey adjustments, which C3D seems apparently capable of.
View 7 Replies
View Related
Mar 13, 2012
Is there a way to duplicate in place? I have a instance where I am using a lot of subtractions and I want to have multiple copies of objects in the exact same position. I am finding that when I do copy I often snap to the object but the direction for depth relative to the view I am in ends up being different. Example being I have a 2" Diameter circle extrude that I want to be 120" long. I created that. I want a copy of it in the same position. I am looking from the front so all I see is the circle. I select copy and grab the center point and snap to the centerpoint. Now I have its zero at the other's 120" mark. I am hoping I could just run a duplicate command, but I cannot seem to find that.
View 3 Replies
View Related
Mar 6, 2012
I've got this drawing which I would like to engrave with my laser, but I'm afraid the duplicate lines from the imported WMF (from Adobe Illustrator) will hinder the performance of the laser. I have tried OVERKILL on all of its different settings, but there are still duplicate lines all over the place.
Any tips for removing the duplicates? The drawing is too intricate to go through and delete them by hand.
The file is too large for this website (6 mb), so I've uploaded it here
[URL]......
View 0 Replies
View Related
Jul 2, 2013
I am new to autocad customization and i am working on modifying a code written in .Net.I want to ask how to get the bounding box of a block and also I am unable to locate autocad customization file.
View 6 Replies
View Related
Dec 9, 2011
I have a drawing that is a topigraphical survey in 2D its constructed of 2D polylines, I need to convert these to 3D polylines so I can add a Z vertex then move the lines/contours to their Z value currently illistrated by text on the plines.
change the line types and easily move the lines to their correct Z value?
View 5 Replies
View Related
Jul 30, 2013
I had a few problems moving a project from 2012 to 2014. After a couple of tries I got everything set except the main alignment. When I originally used the Data Shortcut Editor to change the path of the shortcuts. I noticed that most of the paths were mostly UNC paths. So I replaced them with the current UNC path.
Now when trying to fix the one shortcut I've noticed that there is now a duplicate of the UNC path shortcut and one using the pathed network drive. So there is now a total of 3 references for each shortcut. I don't know yet if this is part of the problem but it doesn't look like it's a good thing.
My first inclination would be to delete all but the newest XML file for each reference.
View 9 Replies
View Related
Jul 13, 2013
My menu bar has duplicates of some items such as "edit", "view", etc. How can I access it to remove these duplicates?
View 6 Replies
View Related
Oct 28, 2013
In this moment I am gathering data in order to create a drawing. The data is located iin several files but the problem is that either I use external reference or copy-paste the data I will have duplicate information. How is possible to gather all the data in one file with no duplicate objects?
View 4 Replies
View Related
Apr 22, 2013
I am having duplicate objects in my files and I am wondering if they could be deleted. I think that I saw the option to select these kind of objects but now I need a remainder so I can get rid of the unnecessary stuff.
View 2 Replies
View Related
Jan 27, 2013
How to duplicate the functionality of pressing the F2 button in .NET? I have several commands that write a fair bit of data to the command line, including one that lists individual segments of civil 3d objects and I would like to make the command line appear in a similar fashion to the list command.
View 3 Replies
View Related
Dec 3, 2013
How would I test for duplicate handles in a file. If I select a cirlce from an xref and it has a handle of "E6" Then I select another circle from a different xref that has the same handle. When I use GetObjectId how do I specify which handle? Is there a way to give a handle and a file path and have it point to the correct entity or would I need to cycle through all entities and check for matching handle and file name?
In the end I would like to select an object, then store that data in a file and then recall that exact same object later.
View 6 Replies
View Related
Nov 28, 2012
Somehow I copied something and now when I open my drawing I have deplicate pipe networks with one being named something like Pipe Network and the 2nd being named Pipe Network(1). Pipe Network(1) does not show up in the toolspace. It has duplcated every pipe network in the drawing. I deleted all the pipe but when I close and reopen the drawing it comes right back. I've attched a pic. The single line is the original, the double line is network(1).
View 6 Replies
View Related
Sep 9, 2013
In order to avoid duplicate event handlers, I did like the following...
Document doc = Application.DocumentManager.MdiActiveDocument;try { doc.BeginDocumentClose -= new DocumentBeginCloseEventHandler(MyEventHandler); }catch { // Do nothing }doc.BeginDocumentClose += new DocumentBeginCloseEventHandler(MyEventHandler);
The above worked greatly with AutoCAD 2007. But yesterday I migrated my code into AutoCAD 2010 (with Object ARX 2010).
Unfortunately, it seems like AutoCAD 2010 catches before my code catches it. I guess I could just have a global boolean value that checks the status of event attachment.
View 7 Replies
View Related