AutoCAD LT :: Attributes Disappear After Saving Block With Properties Table
Mar 15, 2011
I used the Block Properties table in dynamic block editor. I picked 3 out of 6 atributes to include in the Block properties table and I inserted the predefined values. When I view the block in testblock edditor everything works. Everything works also in the same drawing were the block was created. I can choose the predefined block vallues from the dropdown list.
The problem is that when I save the block in the block edditor as new drawing, for the purpose to use this and include this block in another drawing, then the attributes witch were associated with the Block Properties table are missing. They are also missing when I open the block editor in the new drawing. The attributes that were not associated with the table exist.
I have added 2 files. 1 with the block created in the same drawing and another where the block was saved an inserted to a new drawing.
View 8 Replies
ADVERTISEMENT
Mar 7, 2013
It's about "Block Properties Table",I want to use a Block Properties Table to manage a Dynamic Block.
I have defined a Dynamic Block a and its Block Properties Table in Autocad2010,this is the screenshot of the Block Properties Table(a1:d1=100,d2=200;a2:d1=100,d2=400;a3:d1=100,d2=600.) Now I want to insert the Dynamic Block using .NET API.after I input a command,the block of a2(d1=100,d2=400) is inserted. I have the code about it, but the code is not complete. this is the Dynamic Block
this is the the screenshot of the Block Properties Table .
the result:
the code about it:
[CommandMethod("readBlockTable")]
static public void CmdReadBlockTable()
{
Editor ed = Application.DocumentManager.
MdiActiveDocument.Editor;
// select a block reference
[Code].......
View 8 Replies
View Related
Jul 5, 2013
I'm not able to see the values of attributes in my Properties Palette. When I select the block, I would like to see the associated attributes show up in the "Properties" window; however for some reason they do not.
This happens with all blocks and I checked the constant. I'm thinking it's a Variable but don't know which one.
View 9 Replies
View Related
Jun 26, 2012
I'm creating a routine to fill in my terminal strips. This routine worked perfectly in Vba but I'm now rewriting it for .NET...The problem is that I want to insert a block with attributes into different cells.The tables already exists. Below my function, I'm stuck on this part
Dim lonReturnedIds = FunBlockId() ' Calls the function FunBlockID to get the ID's of the attributes
' 0 = BlockID
' 1 = AttributeID of KleurB
' 2 = AttributeID of KleurO
TS.Cells(i, intPosition).Contents.Add()
TS.Cells(i, intPosition).Contents(0).BlockTableRecordId = lonReturnedIds(0)
TS.Cells(i, intPosition).SetBlockAttributeValue(lonReturnedIds(1), strCableConductor2WriteFirst)
Public Function Fun_StripUp(ByVal Po3dXY As Point3d, ByVal str_CableName As String, ByVal Str_CableConductor As String, ByVal strCable Conductor 2 Write As String, ByVal strCableConductor2WriteFirst As String, ByVal intPosition As Integer) As StringDim tAcadDoc As ApplicationServices.Document = ApplicationServices.Application.DocumentManager.MdiActiveDocumentDim myDB As.
[code]...
View 2 Replies
View Related
Mar 21, 2013
My company is building a template library, and I want to fill in the .DWG document properties by extracting the information from a the block attributes
For example we need the following document properties (TITLE, SUBJECT, and KEYWORD) to be filled in from the same block attributes (TITLE, SUBJECT, and KEYWORD). The template we have now has this information manually input, but we would like to "automate" it on the .DWG document properties.
How do we do this, use a macro or is there some other way to do this automatically?
View 2 Replies
View Related
Aug 2, 2013
My Quick Properties does not show my block attributes but they shows in Properties Palette. I have edit Quick Properties in my Custom.CUI that overrides ACAD.CUI settings. I'm using AutoCAD 2012.
View 9 Replies
View Related
Aug 6, 2013
My Quick Properties does not show my block attributes but they shows in Properties Palette. I have edit Quick Properties in my Custom.CUI that overrides ACAD.CUI settings. I'm using AutoCAD Civil 3D as AutoCAD 2012.
Below you can see that Attributes are not any option.
I'm trying to make my changes in the local CUI file.
View 2 Replies
View Related
Aug 12, 2013
My Quick Properties does not show my block attributes but they shows in Properties Palette. I have edit Quick Properties in my Custom.CUI that overrides ACAD.CUI settings. I'm using AutoCAD Civil 3D as AutoCAD 2012.
Below you can see that Attributes are not any option.
I'm trying to make my changes in the local CUI file.
View 1 Replies
View Related
Dec 8, 2009
I have created fields in the drawing properties custom fields dialogue box, then inserted those fields into my title block attributes.
Two things I hope to get out of this:
1. link these fields into the drawing property summary, so that I can display the drawing title and other pieces of info in the help strings that appear in windows explorer by simply hovering the cursor over the file.
2. I wish to be able to fill out the information in the title block by data linking it to our drawing lists in access.
View 3 Replies
View Related
Apr 20, 2012
I have used the FDO to connect to my SHP files. I have used one data attribute to get a rotation for my blocks. I have also used a feature Label to display the text I am interested in.
When I save to DWG, the feature labels come in as Text. I would like the text to go to the correct block attribute.
Is there a way to do this? I did not see anything in the Style Editor to use my blocks' attributes, only the geometry.
I am aware of using MAPIMPORT to set attributes from the data, but they do not come in rotated, and I have more conditions on which block to use, not just one field to decide the block name.
View 2 Replies
View Related
Feb 13, 2013
I am working with a set of dynamic blocks, each with a block table that provides a drop down for the user to alter attributes from. My goal is to be able to update the block table using VBA to push data from an excel file. I do have import/export code that will update block attributes, but I am not sure the functions that would access the table properties.
View 7 Replies
View Related
Nov 8, 2013
The "Main Stretch" parameter does not correspond with the Block Properties Table. What does this parameter need to be attached to?The paramter will adjust with the pull down options of the Block Properties Table.
View 5 Replies
View Related
Jun 20, 2012
i was wondering if it's possible to change the default precision of values in the drop down menu for linear parameters when using a block properties table from 4 digits to 0.
See attached file, when opening the dropdown menu, the centre-to-centre widths of the chair are displayed in a value with 4 digits "behind the comma" and i would like that to be 0.
View 3 Replies
View Related
Jun 13, 2013
I have a dynamic block, that represents a stirrup.
I inserted in the block a Block Propreties Table, that have some preset dimensions for the stirrups. The grip of this table I decided to put in the top right corner.
The problem is that I can't make this grip moveable )
See the attachement with the block
View 1 Replies
View Related
Jun 11, 2013
I finally got some Lisp scripts working. They generate a block library from a CSV file. The script reads the file, and generates a simple rectangular block based on dimensions on the line. I have another script that can read a csv of block names and values, and add these as attributes to the block.
The attributes added are simple, like "weight" and "max stack qty". I would like to be able to see these values in the properties tab or in quick properties. In my CUI I have "Display Custom Attributes" checked under "block reference".
However, when I select a block, no attributes show up. I can get it to show me things like "name" and all of the scaling values, just no attributes.
View 0 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
Feb 14, 2013
Is there a way to create a block with attributtes that automatically complete x, y, z, lat, long for the insertion point of the block?
I am trying to complete text in paperspace that will automatically fill in the lat long of a point in model space without using a table. I have tried field insertion with reference to a cogo point, but it doesn't give options for position on a cogo point. If I pick a block with attributes, it will let me pick any attributes, and x,y position for the block.
Cogo points show all the information I need to propagate in the properties....but how do I get that to translate into the text using fields or some other method?
Dell Precision T3600 - Windows 7 64-bit
NVIDIA Quadro 600
Intel(R) Xenon(R) CPU E5-1607 0 @ 3.00GHz 3.00GHz
8 GB ram - Two 1TB raid
View 9 Replies
View Related
Oct 26, 2012
When the block is in a drawing and I click it, it takes me to block editor.
However if I go to it in block editor and test block it allows me to change the attributes.
Why does clicking the block go to block editor and not allow me to change its attributes as it does when I test block.
View 9 Replies
View Related
Oct 31, 2013
I would like to change sub block from a visibility after setting it. Here an example of code to get the right visibility, I don't really know how to update a sub block by name or by handle(seems to change inside dynamic block).
Dim Block As AcadBlock
Dim BlockRef As AcadBlockReference
Dim DynEntBlock As AcadEntity
Dim DynObjRefH As IAcadBlockReference
[Code]........
View 9 Replies
View Related
Apr 8, 2013
I can insert a block with block attributes using the Inter op very easily:
Dim theBlock AsAcadBlockReference
Dim pickScreenVBA = myDoc.Utility.GetPoint(, "insert the hydrant")
theBlock = myDoc.ModelSpace.InsertBlock(pickScreenVBA, "Hydrant", 1.0#, 1.0#, 1.0#, 0)
Dim varAttributes AsObject
varAttributes = theBlock.GetAttributes
varAttributes(0).TextString ="3 Ports"
varAttributes(1).TextString ="Salt water"
Works great, but when I try using the non-inter op, all the example insert new Attributes and not add block with existing attribute (so I end up with duplicate attributes for each block - i.e "Salt water" attribute is added to the block each time I run the code),
Are they any examples that does the same as above using the non-interop code?
View 2 Replies
View Related
Dec 12, 2013
I'm trying to add some attributes to an existing block using the block editor, but after I save and close it I cannot see any 'placeholders' despite adding a default value and the attributes work fine when I double click the block.
I've tried using the ATTSYNC and BATTMAN commands but nothing works and there are no invisibility states applied to either the attribute or block and all layers are switched on.
I just tried making a quick block from scratch and it seems to have the same affect, except the default value will show, but no 'placeholder' shown if left blank.
I swear with previous version I could see the tag when a value hadn't been applied, so is it that the version I now use (2012) does not have this feature or it's disabled?
View 9 Replies
View Related
Nov 20, 2013
How to join atributes from xls/xlsx to table in shp file?
I attache some sample files.
I have shp with 3 poligones. Each has two atributes in the table. I prepared some table in excel. Now I want to join this file to shp's table.
Should I connect this file though FDO? (ODBC)
View 2 Replies
View Related
Aug 19, 2010
I would like to read a table that would be linked with block attributes. Like a table (either AutoCAD or Excel) of fluids with pressure, temperature, flowrate... that I would link to attributes. I tried to insert a field in the attribute, but what I've found in fields are properties like Color/Layer/Column/Rows ..
View 4 Replies
View Related
Mar 4, 2012
how can some of the attributes in the properties invisible
View 6 Replies
View Related
Nov 24, 2011
In AutoCad 2012 I have a large drawing with 30000 entities in it. Most times (althoguh not always), after saving, the crosshairs then vanish and I have to exit the drawing and open it again to get them back.
It doesn't happen in all drawing files, as far as I can tell it is just this large one.
View 0 Replies
View Related
Mar 2, 2011
I recently upgraded to a new computer and CAD Civil 3D 2011. I have always had it set up to when I selected a node the attributes (description, point number, etc..) for it would show up in the properties. Now I can only view them by double clicking the node. Is there a way to get them to display in the properties again?
View 9 Replies
View Related
Sep 4, 2012
We use a number of blocks with block tables for data extraction here, and whenever one of the blocks is modified and updated, all of the block tables reset to the default value. This happens for any block reference change, not just changes to the block table (which makes sense that it would reset).
How can we update these blocks without having to manually change all of the block tables afterwards?
View 2 Replies
View Related
Sep 19, 2011
I'm trying to chnage the text of the sheet number and total sheet number attributes for each layout in my drawing. I have code that adds and deletes the specified pages, now I need to edit the attributes to reflect the correct page and correct total amount of pages. Here is my code, based on my old VBA version.
I know there is a problem with the line:
For Each item In myBTR.ObjectId
I've used a number of websites and books, but I would really like to find something that teaches about block tables, block table references, block table IDs so I can get a better understanding of breaking stuff down to get the info I need.
Public Sub updatePageNumbers()
Dim myDWG As Autodesk.AutoCAD.ApplicationServices.Document
Dim myDB As Autodesk.AutoCAD.DatabaseServices.Database
Dim myTransManForPageNumbers As Autodesk.AutoCAD.DatabaseServices.TransactionManager
Dim myTransForPageNumbers As Transaction
[Code]....
View 6 Replies
View Related
Sep 16, 2013
Settings: Inventor 14 - Student version / Window 7 64bit
When I save parts in the library on my harddrive the file does not show subsequently. But if I try to re-save it, I get the statement that the file already exist.
I cannot find the file anywhere, not even with the windows search function. The file is missing, but somehow present below the surface.
Besides this did Inventor create several versions of my previous parts (0001, 0002, 0003... etc.)
View 4 Replies
View Related
Nov 23, 2011
My boss gave me a copy of Autocad 2012. I've messed around with architecture 2010 before so the ribbons are no surprise. One thing I have noticed that's really different is the dynamic block constraints & block table actionblock properties table? I looks very similar to the lookup property table
View 0 Replies
View Related
Jun 26, 2013
is it possible to define more than one block properties table in a DB?
I have a block definition with several attributes. I would like to pick a (predefined) value for each of the attribute. Making just one block properties table means that I need to fill all the possible combinations of these attributes.
View 5 Replies
View Related