AutoCAD VB :: Creating List Of Attribute Names For Use With ATTEXT

Apr 22, 2013

I am fishing around for information that will abstract my macro one more level. I coded an excel macro to run the following statement on a given set of drawings:

DWG.SendCommand ("FILEDIA" & vbCr & "0" & vbCr & "-ATTEXT" & vbCr & "C" & vbCr & ExtTemplate & vbCr & ExtPath & vbCr & "Y" & vbCr & "FILEDIA" & vbCr & "1" & vbCr)
 
Yielding text files which I consolidate into Excel to generate a full attribute extraction of the drawing set. My question concerns the extraction template file used in the ATTEXT command (shown as ExtTemplate in the code above). As it stands now, the Excel user must provide the attribute tags they want to extract and then I generate the proper extraction template in the background. My goal would be to eliminate this step from the user side and simply extract all attributes in the drawing instead of a designated few.

If you know a better way to do this using the ATTEXT command or a way to do this without the ATTEXT command at all, I would be grateful to hear it. From my current perspective however, I believe I would need to query the drawing to get a list of all attribute tags it contains, then configure the extraction template to use all the tags from that query. I cannot figure out a way to generate this list of tags. So, that is my question

View 1 Replies


ADVERTISEMENT

AutoCAD 2010 :: Can Change Attribute Tag Names

Feb 4, 2013

I would like to learn is there any possibility to provide renaming the tag name of a created attribute, if there is a way, it could great to learn it from your side.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Visibility Names Are Not Reflected On Attribute

May 17, 2013

I have two visibility states. STATE1 and STATE2 used at attribute .

I only see the first (STATE1) or the default. 

Changing  the state works fine with objects ( a simple box and circle) but not with the attribute.

View 9 Replies View Related

AutoCad 2D :: How To Create Attribute - Drawing Floor Plan With Different Room Names

Jan 2, 2012

I know how to create a block and all that is fine, but looking for detailed simple lesson on how to create a Attribute. ( I guess thats what they are called). For instance, drawing a floor plan with different room names and etc, I know there is a way to make a circle or polygon, or square and then when it is inserted in the drawing, you just have to type the new name of the room, or the window symbol, or door number and etc.

By the way, I am using a student version of AutoCAD 2010. Also, if you could also add the keyboard shortcut alias's too would be a great deal.

View 2 Replies View Related

AutoCAD 2010 :: Xref Is Appearing Twice In List Under Two Different Names

Dec 5, 2012

I have a drawing (let's call it "main.dwg") with an external reference (let's call it "file.dwg") as the bulk of its content. The drawing "main.dwg" has 16 layout tabs, each with several mview windows.

Needing to make some changes to "main.dwg" for the first time in a couple months, I just opened it and was having issues with freezing out layers in the mview windows. It turns out that "file.dwg" appears twice in the xref list under two different names (let's say "File 1" and "File 2") with the same target path.

Besides the disorganization created by the double xref, it makes freezing layers in the mview windows twice as complicated, since each layer now appears twice in the layers list. For example, since layer 0 appears in "file.dwg", "main.dwg" contains the layers "File 1|0" and "File 2|0".

Detaching "File 2" in the xref list removes both references. Retargeting "File 2" to a different file retargets both references. Detaching both and reinserting the xref resets the layer freeze settings in every mview window, making every layer visible again.

View 5 Replies View Related

AutoCAD .NET :: Populate List Of Block Names - How To Edit Attributes

Mar 10, 2012

my job is to make an editor for blocks in C#. There should be a WPF-window were the user can see a list of blocks. He selects one and than he should see an overview about block attributes like insertionpoint, basepoint, rotation and scaling and he should be able to edit these attributes in this form. 

I know how i can populate a list of block names, but I fail at finding an opportunity to edit these attributes. 

I get the blocktablerecords, but then?

View 9 Replies View Related

AutoCAD Inventor :: Get List Of All Internal Iproperty Names In Autodesk 2012?

Jul 23, 2012

Experts, how do I get a list of all internal iproperty names in Autodesk Inventor 2012

View 1 Replies View Related

AutoCAD .NET :: Get Attribute List From Object?

Aug 25, 2012

I've looked through many posts and can't make this work. Using ACAD2010.

Dim ac AsObject = Nothing
If ac IsNothingThen
ac = CreateObject(

[Code].....

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Text File With A List Of Image Tile Names

Jun 12, 2013

I have a text file with a list of image tile names with their bottom left hand easting and northing see attached. I have a lisp that asks for the name of the image then should  insert the image at its coordinate with a predefined scale and rotation but it isn't working so I would like an alternative method to test.

View 4 Replies View Related

AutoCad :: Block Attribute Drop Down List

Sep 22, 2011

I have created a generic title block for all my drawings and I have some attributes for the block. Is it possible to have a drop down list for an attribute so I do not have to type in the value/text each time? If so, how?

I want to be able click on 'customer 1' or customer 2' ect. and not have to type it in the attribute.

I'm using Autocad 2011.

View 5 Replies View Related

AutoCad 2D :: Move Attribute Up / Down On List Of Title Block

Apr 25, 2013

Is there anyway to move attributes up or down on the list of a title block? I like everything for Rev 1 to be together (Drawn By, Checked By, Approved By, Date, Description, and Rev Number)...However, i was in a hurry and skipped Approved By. Once i added it, after the entire title block was done, it moved it to the very bottom on the list. Is there a way to "Move Up" so that it's with the other Rev 1 group?

View 1 Replies View Related

AutoCad :: Stop Attribute List When Inserting Block?

Aug 16, 2011

when I insert a block with attributes I get the prompts on the commandline to fill in the attributes. Can I stop this from happeneing, and just insert the block?

Alternatively, can I get the Attribute Editor dialogue box to come up instead?

Sidenote: How hard is it for people to learn that blocks need to be INSERTED not copied - if you copy the blasted thing the attributes are messed up, why is that so HARD?

View 5 Replies View Related

CorelDRAW Graphics Suite X5 :: How To Get List Of Names From Excel

Apr 26, 2011

I have done it in a lot of steps. There must be a simple way to do it.

View 3 Replies View Related

AutoCAD 2010 :: How To Choose Attribute / Field Data From A List

Mar 28, 2012

How to choose the attribute or field data from a list?
 
When using the “title block”, attributes and fields to better control the information that belongs to the drawing, then it worth to have a feature that allows selecting this information from a LIST.
 
For example, if we need to specify “location” of the project, then it is better to have sort of list from which we can select the location of the project the same we do it in the Excel (as shown in the screenshot below).
 
Is there such feature in the AutoCAD? To choose the information from a list?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: List Block Attribute Value

Feb 3, 2012

I'm looking for a lisp routine that will globally list all the values from a specific attribute tag within a specific block. The attribute tag is "COMMENT" and the block name is "FSD".

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Creating Variable Names

Nov 28, 2008

How to write some code which could create variable names like var1, var2, var3, etc. I need to do this because I have a large number to create and the actual number is variable and unknown.

Instead of manually writing a large number of line like

(setq var1 value1)
(setq var2 value2) etc

I used to be able to put 1 line in a loop to create and assign a large number of variables. I remember that it involved the use of the set (not setq) and read functions.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: List Combination With Common Attribute

Nov 20, 2011

I have two lists with lists inside:

((A) (A) (A) (B) (B) (B) (B) (C) (C))

and

((A 1) (A 2) (A 3) (B 1) (B 2) (B 3) (B 4) (C 1) (C 2))

I just want to make a list with lists that is:

((A 1 2 3) (B 1 2 3 4) (C 1 2))

I am guessing map car and lambda should come into play but i can't figure it out.

View 3 Replies View Related

AutoCad :: ATTEXT - Invalid Field Specification

Mar 27, 2012

create a usable template file that ATTEXT can use to extract attribute information from blocks. The goal is to construct a small building within ACAD (before the first piece of material is cut or even bought) exclusively from blocks with attribute information for each block and then to extract what will end up being a bill of materials and cost sheet. (in lieu of my normal approach of hand sketching, trial and error cutting and fitting as I go along).

I have read the manual 4 - 5 times, followed instructions exactly (or at least think I have), reviewed postings here (and then trying different way). Nothing works. I have even created a single block in single file with one attribute to simplify it. Anyway, same error comes back every time. The current, extremely simplified, PracticeExtractAttributes.txt (template file) file reads:

BL:MYBLOCK C01500
STICKNAME C01500

with MYBLOCK being the block name and STICKNAME being the tag name for one attribute from the drawing. Same error.

Note: although I use ACAD very infrequently I have been using it since (if I recall correctly) 2.56 back in the 80s and currently use 2000.

PS the ATTEXT will create a DXX file with the information in it (hence my conclusion the problem is in the template file), but that would require me to spend hours and hours writing code to parse the DXX file (once I had the format figured out) to get the info out.

View 3 Replies View Related

AutoCAD LT :: ATTEXT Does Not Work With Visibility Parameter

May 31, 2012

The attached DWG contains a big block with a visibility parameter which can make the red hatch invisible. This block also contains some dynamic blocks which have automatic attributes and it also contains one attribute (value = 7777).

There are some more blocks for testing in the drawing, some have a visibility parameter, some don't.

All attributes have the same name LAENGE.

Now use ATTEXT on all blocks with the attached template. You will get all attributes, but from the big red block you get only "7777".

Now open the block editor and remove the visibility parameter from the big red block and save it. Then use ATTEXT again - and now you will get all attributes from the dynamic blocks.

How can I get all attributes from blocks with visibility parameter?

(I am using ACAD LT 2010.)

View 5 Replies View Related

AutoCad :: Attributes / ATTEXT Command And Template File?

Jun 21, 2011

I work with land surveying, and I'm a complete newbie to CAD. I use AutoCAD LT 2010, and I am having trouble getting some coordinates from a file.

I receiveda dwg file containing three adjoining lines and two ducts. Now I need to extract the coordinates (x,y) and some kind of point number/name so that I can use the data in a text file or in Excel.

I have tried the ATTEXT command, but it doesn't work. I don't even know if the template file I created is correct, because I suspect the main problem lies in the fact that the points along the line have no attributes.

how do I get the data I need? Do I have to assign attributes to the points before I can extract the coordinates? And what should the template file look like?

View 9 Replies View Related

AutoCAD 2010 :: Creating Text Attribute Across Several Sheets?

Jan 10, 2013

creating text attribute across several sheets? 

View 4 Replies View Related

AutoCAD 2010 :: Creating Block With One Attribute (Elevation)

Feb 8, 2013

I am trying to create a block with 1 attribute (ELEVATION) showing a finished floor level and another text (field) to show another level derived by the sum of the attribute value + and additional (fixed) number, say 100.

I have tried using fields inside an ATTRIBUTE or a simple DTEXT but the field does not update, it only picks up the DEFAULT of the attribute, not the user entered input. How can I do this?

attached is the block

View 2 Replies View Related

AutoCad :: Creating Dynamic Block With Attribute Definition

Jun 10, 2013

I'm having trouble getting my attribute definitions to work with my blocks.

I'm trying to create a tag that can flip around (dynamic) and have a tag number easily entered (attribute).

I notice that I could only get the attribute definition to work during a drawing insertion is when I wblocked out my block and inserted that drawing file. I was not able to insert the drawing file that had the block in it.

I can't seem to make a dynamic block drawing file, and then insert that dynamic block drawing file if I want the attribute to work..

View 4 Replies View Related

CorelDRAW X5 :: Creating Evenly Distributed Names In A Shape?

May 24, 2012

I am working on a tee and trying to evenly include a graduating class of 44 students in the shape of an oval using 2 columns and 22 rows.

View 5 Replies View Related

AutoCAD 2010 :: Creating Column Bubble Block That Have Attribute And Both Be Annotative

Sep 22, 2011

I'm having an issue with creating a column bubble block that would have an attribute and both be annotative.

I've created a 3/8" dia circle with 3/16" text and the text is NOT annotative.  The bottom of the circle is at 0,0 with the text justification at MC

I create the block of the circle and text and make it annotative and save

When I insert it into another drawing, the block inserts properly and scales as desired.  The issue is when inserted, I'm NOT given the option to fill in the column # attribute.  I can double click and enter text, but this should happen during insertion.  

When I create the block, if I do NOT select the attribute as part of the block, I am given the option for the attribute during insertion but it does not scale automatically.

What am I doing wrong?  I'm attaching my block as an example.

View 8 Replies View Related

AutoCAD 2010 :: Attext Output File Give A Lot Of Extra Empty Values

Jun 10, 2013

Attext output file give a lot of extra empty values when template file include attributes from more than one block.

The drawings I want to extract data from has two blocks with attributes. If I make the template file with attributes from both blocks, I get a lot of extra empty values. If I split the template file in two with the attributes from each block in each template file, the output file is OK.

A copy of the same attributs giving different number of values. (Block REV)

Two template files - 'REV','A','28.03.92','ISOLA','FS','SM','KJ'  (Block name + 6 att)

One template file - 'REV','','','','','','','','','','','','A','28.03.92','ISOLA','FS','SM','KJ'  (Block name + 17 att.)

How can I get a clean output file giving only the number of values the template file is asking for when the template file has attributes from two blocks?  I use ACAD 2010.

View 4 Replies View Related

AutoCad :: Converting Layer Names To Point Names Or Comments?

Nov 28, 2011

I'm in the process of creating 3D points (as an overlay) on some laser scanned data (using RiScan, it's just 3d dimensional data, with a northing, easting and RL) and unfortunately the only export option is to export to .dxf... Which is fine but when I export, the information has the point ID as the layer name.

I am aiming at getting this data into another program to analyse and it needs the point ID or name to be my annotation, as opposed to the layer.

So what I need is a way of converting the names of each individual points layer, to the point ID.

View 4 Replies View Related

AutoCAD Civil 3D :: Creating Pay Item List

May 13, 2013

I am having trouble understanding "Exercise 7: Creating a pay item list". How to find video of how this is created, or information to better understand the .csv and .xml utilized by QTO better. I am new to editing any .xml codes.

View 2 Replies View Related

AutoCAD Inventor :: Creating List Of Drawings From Assembly

Jan 9, 2014

I wonder if there is any way of creating the list of drawings that derive from a general assembly, which contains sub assemblies and spare parts. That involves to export some personalized i properties, such as nº of drawing, nº of father drawing (for sub-assemblies), and title.

The idea is creating a inculcated link between these drawings (.idw files) and an excel file that, if possible, updates itself when changing the drawings.

View 5 Replies View Related

AutoCAD .NET :: Creating Block And Insert Into List Of Blocks

Apr 26, 2013

I'm new to .net for autocad, but very familiar with c#. I studied some samples about creating a block from c#. I have a form for some basic input. When the user presses OK the code checks if the blockname is already in use. When no it creates the block using following
 
private void make_block() { double nextpoint = 0.0; double linedis = 7.3634; Document doc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument; Database db = doc.Database; Editor ed = doc.Editor; using (Transaction tr = db.TransactionManager.StartTransaction()) {
[code]......

The code runs successfully (meaning i don't get any errors), but when I want to insert the block it isn't in the list of blocks.

View 2 Replies View Related

AutoCAD Inventor :: Creating Or Changing Parts List 2013

Aug 10, 2012

I have a drawing with views and I made a parts list from the main view to be structured. Is there a way to create another parts list with different options or delete it and create a different one? If I do delete it and create a new one the options are greyed out. Is there a way to delete this or change it?

Dell t1500 i7 8 gb ram
Windows 7 64 bit
ati firepro v4800

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved