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


ADVERTISEMENT

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

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 :: Check Block Attribute Then Change Different Attribute In Block

Aug 31, 2012

select all blocks on certain layers in a drawing, check attribute CIRCUIT in each block if it starts with MS then attribute CONTROL = switched. I hope thats clear enough the way

(defun c:control()
(graphscr)
(Setq sc (ssget "X" '((0 . "INSERT")

[Code].....

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Transfer Attribute Block Values To Another Attribute Blocks

Jul 3, 2012

I wanna transfer my attribute block values to another attribute text blocks , is there any lisp for that?

Is there a possibility for sum tag values of choice attribute blocks to inside of another attribute text block ?

View 2 Replies View Related

AutoCAD 2010 :: Change An Attribute From A Value From Another Attribute In The Same Block

Oct 5, 2012

What I really want to do is on our fire alarm blocks we have 3 different attributes one for the address, the candela and one for misc info. I want to make an attribute that takes the number from the candela (15,30,75or 110) and change a different attribute to a value depending on which candela we use (such as 15=.078, 30=.113, 75=.195 or 110=.259). But I don't want the .078,.113,.195,.259 to print out on paper, I want to export block information excel file so I can add up all values.

View 2 Replies View Related

AutoCAD 2010 :: Inserting New Block And Entering Attribute Data By Selecting Another Block?

Aug 13, 2012

Is it possible, via whatever methods (lisp?) to be able to have a premade block with an attribute and insert it into a drawing then assign a value to it by selecting another existing block in the drawing and using one of its own attribute’s values?

For example, say I have a block representing a telephone and it had an attribute called "PhoneNo" and I inserted it into a drawing showing an office floor plan that had blocks in each office space that are telephone junction boxes with attributes "PhoneExtension".  I would like to be able to autocomplete the entering of the “PhoneNo” data by selecting one of the telephone junction boxes in the drawing and using its attribute’s value.

View 5 Replies View Related

AutoCad :: Attribute In Title Block Exists In Block Editor But Not In Project

Sep 6, 2012

Autocad 2011, Electrical package,

I have an existing title block a few text attributes, to which I wish to add a watermark. I have added it in the block editor as a normal attribute, with the same details as the other attributes that work, only a different tag name. It has a default value, "DRAFT" and is tagged "WMARK". It works fine in the Block Editor, and If I test the block I can edit it to display whatever I want, but if I save the block and open it from Autocad proper, the attribute is not in existence, either as a default value, or editable from block properties, attribute editor or title block editor, whereas all of the other attributes are there. I have used BattMan to verify the settings of the attribute, and the only difference is that the others all have "L" in the "Modes" column, but I think that means that their position is "locked" whereas my new attribute is justified "aligned" therefore cannot be "locked" (This is some assumption on my part, as the documentation on the "Modes" column is almost non-existent). I cannot afford to waste much more time on this issue, as the boss is breathing down my neck, but editing watermarks on every drawing after every revision is frustrating, when it could be an attribute that is editable from the title block editor.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Match Multiple Attribute Values From One Block To Another Block

Feb 12, 2012

I need to match few attribute values from one block to different block. I download a lisp file called; ca.lsp which can match the single attribute value. I modified it for more than one attribute value matching. It is ok but still wish to overcome two issues for batch prcess

1. picking up the blocks by selection

2. click the alternative block numbers of times to match the numbers of attribute values I needed.

How to modify this lisp I can run it by block name selections instead of picking selection which enable me to run batch process for numbers of drawing? That will be good...

Lisp & Demo file attached (Match attribute value, A, B & C to Attribute 1, 2 & 3).

View 3 Replies View Related

AutoCAD Civil 3D :: Transferring One Block Text Attribute To Another Block?

Nov 8, 2013

Is there a way that I can create a block with text ('A') and when I insert the block and populate the block another block block will update also? I am wanting to create a block for x-sec flags, and detail callouts that update their detail titles.

AutoCAD Civil 3D 2012 SP4
Windows 7 (64)

View 6 Replies View Related

AutoCAD 2013 :: Importing Attribute Data From A Block Into Another Block?

May 30, 2013

I have 2 drawings with the following content :

Drawing 1 : Contains tree blocks that have a specific scale dependant on the tree size

Drawing 2 : Contains a block with just a point and attribute data about the tree (name, size etc.)

This block is approximatly at the same location as the tree block (0,1 m precision)

Problem I want to join these two items together. In other words, in the tree block that is scaled correctly i want the attribute data with the name, size etc. These blocks don't have a corresponding unique number or something like that.

View 2 Replies View Related

AutoCAD Inventor :: Block Attribute In Part Sketch Block

Feb 28, 2012

Is it possible to create a text block attribute in part sketch mode?

View 2 Replies View Related

AutoCad :: Creating A Block With Block Attribute?

Jun 10, 2013

I'm creating a block with a block attribute.

In the blockeditor I can change the draworder so the attribute is partly under some lines. But the draworder in the blockeditor of the attribute doesn't work in the normal modelspace; the blockattribute is allways on top.

View 9 Replies View Related

AutoCAD LT :: Modify Drop Down List

Feb 27, 2012

Working with LT2012 found that the 'Properties' drop down list can be slow to populate - filling up a line at a time.

View 4 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 :: Insert Point At List Block And Dynamic Block

Apr 18, 2013

I am learning autolips and i found  a problem that i can´t solved.
 
(vl-load-com)(defun c:pmb ( / ss ent pt )(prompt "
selec block : ")(setq ss (ssget '((0 . "INSERT")))) (setq ent (ssname ss 0)), (setq pt (cdr (assoc 10 (entget ent)))) (command "point" pt))
 wich this code you select one block and insert one point at insert point´s block.

which this other code yo select all block and insert all  point.... but in one block
 
(vl-load-com) (defun c:pmb11 ( / sele cod bloque nbloque lista pt ) (prompt "
block: ") (setq sele (ssget ( List'(0 . "INSERT"))) Cod 0 )cod (1+ cod) (repeat (sslength sele) (setq bloque (ssname sele cod)) (setq pt (cdr (assoc 10 ( entget bloque)))) (command "punto" pt) );repeat ) 

View 4 Replies View Related

AutoCad :: How To Delete Block From Insert Block List

Oct 20, 2007

I am using Autocad 2007 I made several blocks with att. And I use this drawing and copy it to the samples/design center folder so that I can see the blocks that I created on the Design center window for use on different other drawings.

My problem is that if I make a cange on the ORIGINAL block drawing how can I update the inserted blocks on the other drawings? I try to delete the block from the local drawing insert block list (is this possible?) to paste the block again with the new changes, but somehow even when I grab the new modified block to inserted again when I do it, it takes the shape of the old version!

View 6 Replies View Related

AutoCAD .NET :: How To Implement Drop-down List (based On IDynamicEnumProperty) In OPM

May 25, 2013

Is there somone who can explain/show a sample of how a custom drop-down list in OPM can be implemented? Based on some articels by Kean Walmsley, I have successfully implemented categorized properties in the OPM using a .NET wrapper and C#. I have a class imlementing the members of the  IDynamic EnumProperty, ICategorizeProperties and IDynamicProperty2 interfaces (based on ObjectARX 2013).

However, I do not really understand how to code custom drop-down list using .NET wrapper and OPM. I am using AutoCAD 2013 and 2014. I have read a lot of posts regarding OPM but there was no useful information in regards to create custom drop-down lists.

View 3 Replies View Related

AutoCAD .NET :: How To Code Drop-down List For Custom Property Using OPM

May 27, 2013

I am mainly developing for AutoCAD 2013/2014 how to implement a custom property as a drop-down list using OPM and .NET/C# wrapper. I have successfully created categorized custom properties already and can read/save them in XRecords via the OPM. I further implemented the members for IDynamicEnumProperty (using an ObjectARX DLL) in .NET/C# which are:

// ENUM-PROPERTY INTERFACE METHODS DEFINITIONenum myEnum{ steel = 0, copper, wood};public void GetNumPropertyValues( int numValues ){ numValues = 3;}public void GetPropValueName( int index, out String valueName ){ valueName = Enum.GetName(typeof(myEnum), index);}public void GetPropValueData( int index, ref Object valueName ){ valueName = index;}

And I have implemented the GetCurrentValueData() and SetCurrentValueData() members in my .NET/C# wrapper as per the IDynamicProperty2 interface as following:

public void GetCurrentValueData( Object pUnk, ref Object varData ) {AcadObject obj = pUnk as AcadObject; if ( obj != null ){using ( Active .Document.LockDocument( DocumentLockMode.ProtectedAutoWrite, null, null, true ) ){using ( var tr = Active.Transaction ){ObjectId ObjId = new ObjectId( (IntPtr) obj.ObjectID ); DBObject DbObj = tr.GetObject( ObjId, OpenMode.ForRead ); if ( DbObj != null ){try {if (
[code]....

This code compiles without error but instead of the expected drop-down list the OPM only shows a field where I can enter or edit integer numbers, but there is no drop-down list when clicking on the field....

View 1 Replies View Related

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 View Related

AutoCAD LT :: Open Drawing Dialog Box Drop Down List Not Working?

Sep 26, 2013

If I click the dropdown list in open command dialog, to select differnet location, it goes blank, after that nothing works,

Need to restart autcad.

how to sloce this issue?

I had reinstalled 2 times but still the problem persists

View 2 Replies View Related

AutoCad :: Creating Drop Down List In Enhanced Attributes Editor

Oct 11, 2012

I have been making a title box for my drawing layout and have been using attributes. all my attributes open in the 'Enhanced Attributes Editor'. But for my Scale option, i was wondering if there was any way of creating a drop down list in the enhanced attributes editor instead of typing the value in each time?

View 9 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 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 Visual LISP / AutoLISP :: Nested Drop Down List In A Ribbon Panels?

Feb 22, 2012

how to create a nested drop down list in a ribbon panel.

is it even possible. It must be, but I don’t know how Autodesk managed to do it in the C3D.cuix for the create ground data panel, point drop down.

second question, where is the icon for a drop down list saved.

looking at a C3D dropdown list icon there is no path to the icon, but when I create one it shows a path.

View 3 Replies View Related

AutoCAD .NET :: Get Attribute From A Block

Feb 2, 2012

I need to open a drawing and read the block attributes and find a block with name "ABC" and attribute named "Text" in "ABC" block. for which i am using the below code which is working perfectly.

Try AcadApp = GetObject(, "AutoCAD.Application") Catch ex As Exception AcadApp = CreateObject("AutoCAD.Application") End Try AcadApp.Visible = True Try AcadDoc = AcadApp.Documents.Open(DWGName, True) RichTextBox1.AppendText(" - Opened File Successfully" & vbCrLf) Me.Refresh() Catch ex As Exception RichTextBox1.AppendText(" - Can not Open this Drawing" & vbCrLf) Me.Refresh() Exit Function End Try Dim Obj As Object For Each Obj In AcadDoc.ModelSpace If Obj.ObjectName = "AcDbBlockReference" Then RibbonLabel1.Text = "Find Block: " & Obj.Name Me.Refresh() ' Check for attributes. If Obj.HasAttributes Then Dim AttList As Object Me.Refresh() If Obj.Name.ToString.ToLower = "abc" Then ' Build a list of attributes for the current block. AttList = Obj.GetAttributes ' Cycle throught the list of attributes. For _i = LBound(AttList) To UBound(AttList) ' Check for the correct attribute tag. If AttList(_i).TagString = "Text" Then return AttList(_i).TextString.ToString End If Me.Refresh() End If Next End If End If End If Next Obj

 But i want to know whether is there any way to get the block named "ABC" directly without looping through all the objects.

View 2 Replies View Related

AutoCAD Map 3D :: Block Content Many Attribute?

Feb 21, 2012

I have a block content many attribute.  When I'm create the block whit this many attribute, the order of this attribute is not properly.  I know autocad have a command to class this many attribute in order but i search it and i don't know where is it.

View 1 Replies View Related

AutoCAD .NET :: Attribute Collection From A Non-placed Block

Apr 19, 2011

I need to get the Attribute Collection of a named block which is not been placed in the drawing, but it does exist

Dim paaltype As String
Dim acDoc As Document = Application.DocumentManager.MdiActiveDocument
Dim acCurDb As Database = acDoc.Database
Dim acDocEd As Editor = acDoc.Editor

Using acTrans As Transaction = acCurDb.TransactionManager.StartTransaction()
paaltype = "paal01"
Dim acBlkTbl As BlockTable
acBlkTbl = acTrans.GetObject(acCurDb.BlockTableId, OpenMode.ForRead)
If acBlkTbl.Has(paaltype) Then
‘block exist, how to get the attributecollection
End If
acTrans.Dispose()
End Using

View 2 Replies View Related

AutoCAD .NET :: Attribute To Move To Block Without Old ATT?

Sep 10, 2012

How can I add an attribute to a block without the other attributes to move from their position. With the ATTSYNC belongs unfortunately not because the old attributes moved back to the original places that I will not.

View 9 Replies View Related

AutoCAD .NET :: Append Attribute To Block

May 9, 2011

I wan't to append a new attribute to a new block. But I get an error that there is no database. The loaded file has no attributes

Dim mDialog As New frmPaalDefinitie()
For Each item In lvPalen.Items
mDialog.tsPaal.Items(item.imageindex).enabled = False
Next
mDialog.ShowDialog()
If mDialog.DialogResult <> Windows.Forms.DialogResult.OK Then Exit Sub

[Code] ........

View 4 Replies View Related







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