Search the Community
Showing results for tags 'objectdata'.
Hi, I have 3 drawings, each with 50+ layers. The client wants me to export each individual layer as an individual SHP file, and needs me to run the export every couple of months. I can write up a script file specifying each layer etc, the catch is that I also need to export the Attribute Data from the attached data tables for each item. I cannot seem to get a hook into the Attribute Data using the MAPEXPORT command in a script, e,g: -mapexport" "SHP" "c:\\Temp\\MyLayer1.shp" "Y" "c:\\Temp\\Street.epf" "S" "L" "All" "MYLAYER1" "*" "No" "Proceed" -mapexport" "SHP" "c:\\Temp\\MyLayer2.shp" "Y" "c:\\Temp\\Street.epf" "S" "L" "All" "MYLAYER2" "*" "No" "Proceed" This will export my layers, but minus the Attribute Data from the attribute table. Does anyone have experience in doing this kind of export to SHP? Is it possible to script, or code so that the shapefile contains the Attribute Data? I tried something along the lines of: -mapexport" "SHP" "c:\\Temp\\MyLayer2.shp" "Y" "c:\\Temp\\Street.epf" "S" "L" "All" "MYLAYER2" "*" "No" "D" "MyDataTable" "Proceed" But this was just a stab in the dark, I cannot find any documentation outlining the datatable in the command line use of MAPEXPORT. Note: I can export the shapefile manually and select the data table and it exports as I need it to (by selecting the Data tab in the export dialogue). I have very limited knowledge of Lisp. I hope I have explained my issue well enough. Thanks for any help.
dijwar.bozyel posted a topic in AutoCAD 2D Drafting, Object Properties & Interface
Alaskachick posted a topic in AutoCAD 2D Drafting, Object Properties & InterfaceI have a block. In it's attributes is a tag called "website". The block attribute value is a url or http:// that leads you to a picture. The block is repeated throughout the drawing with different values for each website tag that should take you to a different picture for each block occurrence. Currently, the text appears as dumb text, not as a hyperlink. I understand manually attaching a hyperlink to an drawing object. This is different in that I want autocad to automatically recognize that the block attribute text is a link and allow the user to click on the text in the properties window and the picture open. Does autocad recognize text as links like word or excel does? For example: if you type anything in a word document that starts with http://... word will recognize it as a link and give it link functionality. I need autocad to do this. It could be that this link functionality can only be used with object data and not with block attributes. That would limit me to only using civil 3D, but I can live with that. Any ideas?