AutoCAD Map 3D :: VBA - Changing Column Definition Of Object Data
Jan 23, 2006
I have used the example of Map Object-data. I try to change the Object-data definition from a character to integer to do other querys.
How Do I have to Change the Column definition of the object-data? Where I have to add the definition "as integer" or "as long"?
Set amap =
ThisDrawing.Application.GetInterfaceObject("AutoCADMap.Application")
'Create OD Table Definition
Set ODfdfs = amap.Projects(ThisDrawing).MapUtil.NewODFieldDefs
' Add Column Headings and Defaults
[Code] .....
View 1 Replies
ADVERTISEMENT
May 2, 2013
I need to include the data definition for 120 elements . I'll insert it at a word report.
Civil 3D (2013)
View 2 Replies
View Related
Sep 27, 2013
I continue to suffer project downtime and setbacks due to a variety of defects in the software. Here formula columns are not working. I created a Formula Column for simply computing ItemQTY *Item Cost in a Data Extraction table for a current project.
QTO is defective, and now Data Extraction is not working. What does the product leadership expect us to do for quantity analysis?How can Quality Control of this software significantly improve?
View 5 Replies
View Related
May 31, 2013
I would like to link an Excel table to a SHP file via a column in commun. My SHP file and Excel Spreadsheet share one same column filled with numbers. So it's neither simply import Excel table, nor import with points.
But I don't know if I should use "Data Link" or "Add ODBC connection" or "FDO import", or some other fonctions...
View 9 Replies
View Related
Nov 7, 2013
I'm trying to change the value in the description column through the formattedtext but the final result is not what is supposed to be, this is a part of my code.
Sub HoleTab()Set oDrwDoc = ThisApplication.ActiveDocumentDim oSheet As SheetDim i As IntegerSet oSheet = oDrwDoc.ActiveSheetDim oHoleTables As HoleTablesSet oHoleTables = oSheet.HoleTablesDim oTable As HoleTableDim oTableRow As HoleTableRowDim oTableRows
[Code] .......
View 2 Replies
View Related
May 12, 2012
I tried to use the command "Remove Material" from the rippon, and I get no rsponse, and deleted the material from the palette and yet the material there, How can I get rid of the materials I attached to the walls?
View 1 Replies
View Related
Sep 3, 2013
When I place a custom ipart (a simple one in this case) the length in my table changes
Inventor Professional 2014.
Windows 7 64 bit.
View 2 Replies
View Related
Aug 20, 2012
I am using beam/column calculator in the frame generator in inventor 2010 suite.I have a beam being used for a flight of stairs it is positioned 40 deg above the 'floor' or my xy plane in my assembly.I want to place a distributed load acting as if there were several people stading on the stairs at one time so in the direction of the z axis of my assembly.
The problem I am having is I try to change the angle of the distributed load but it only allows me to change the x and y components of the load.
a) change the angle of the laod in the Z directions
or
b) change the cordinates in beam itself so the x axis is along the length of the beam instead of the z axis.
I have tried adding a UCS to the beam part but it still wants to choose the length of the beam as the z axis.
View 5 Replies
View Related
Dec 18, 2012
I am trying to create a property definition that will display the elevation of a space object. I looked through the automatic properties and did not find anything that looked like the elevation.
I have tried the following but was unable to achieve any success.
RESULT="--"
On Error Resume Next
Set AcadApp = GetObject(, "AutoCAD.Application")
Set Obj = AcadApp.Activedocument.Objectidtoobject("[ObjectID]")
RESULT = Obj.elevation
That formula does work if i swap elevation with say height, width,length or any of the properties found in the automatic property list that are a single word. I know the elevation is there I just don't know how to access it.
View 2 Replies
View Related
Jan 20, 2012
Where I can find the button to add data labels to a column graph?
These are the numbers/percentages that appear at the top of the column once it's been generated so you can see that is was say 50% or 60%.
View 9 Replies
View Related
May 2, 2011
I've been having this issue happen repeatedly, but not consistently. In a new file, I adjust the width of an mtext box so that the text wraps into multiple lines. When I next open the file, all mtext boxes are back at a wider width so that the text is all on one line. The start of the text is also usually in a different location. This was happening on 2011/XP and now on 2012/Windows7.
View 5 Replies
View Related
Jan 20, 2011
how to import point data that has Map Object Data also attached to it? "import it by attaching to a data source".
Example: I have a bunch of manholes. Each MH has X,Y,Z, but also Type, Invert Elevs., Pipe Sizes, Pipe Materials, Pipe Directions, Structure Type/Material, etc. etc. etc. I may have point data representing MH's, airport runway ends, trees, anything you can imagine, with all kinds of data imaginable.
I want to import this data directly into Autocad/Civil 3D as either Autocad points, lines, or closed polylines (I also have utility lines, parking lots, etc.- all with data associated with it), all with the data attached as object data. I know that anything more complex than points might be hard to explain here, so I am hoping at least for a solution on how to import points - I have 99,999 MH's and obviously I don't want to have to type all that data in one by one.
I basically suck at using sql server. I can get around using the Map workspace and the different tabs. I have never used FDO, and I am not even sure what it is.
I fooled it today by creating 99,999 Autocad points at the correct XYZ, attaching the correct object data to them, then exporting as a shp file. I went into the shp_name.dbf file and edited it to add the data I wanted by cutting & pasting from Excel. then I re-imported the shp file. but, this is a workaround at best.
Surely Map can import objects and their associated data fields, all populated with valid data! all I need is to know how to do it. I mean, if this is not something I can do directly using Map commands should I take the money I earned by surveying 99,999 MH's with my GIS data collector that allows me to assign 101data fields to each object I survey, and buy something better?
C3D 2012 on 64bit Win 7 all up to date
Dell Precision 7core 8GB RAM
NVIDIA Quadro FX 1800M
LDT/C3D user since release 12
View 9 Replies
View Related
Mar 28, 2013
I have a drawing with Objects that have both Object Data and Linked data in an Access database. I need to get information from the linked table to a new linked table for each object.
I have thought that if I get the necessary information from the Linked table record to the object data for each object, I could then convert the Object data to a new link and am looking for a way to copy the data from a field in the Linked Table to the object data. There is at least one field common to both the OD and Linked Table record.
Is there any automated way to transfer this data?
View 5 Replies
View Related
Jun 25, 2013
In my company, they have just upgraded the old version of Autocad LT 2004 to the new 2013 and we have created menu to make our job easy. I have try to transfer the menu file .mnc to 2013 but it's not working or I don't do it the right way.
View 4 Replies
View Related
Oct 15, 2010
I'm working in AutoCAD Map 3D 2008 and Autocad Civil 3D 2009.
The General Task:I want to convert the object data to attribute data so that I can export it to an Excel file, add another column of data, and then import that new data as attribute data.
The Specific Task:I have thousands of campus water meter locations (a block with a small icon, attribute data, and object data) that belong to two different systems, domestic water and lake water. Each of these blocks has object data item (a barcode tag) that I want to show as a label next to the block.
However, before I do that, I want to export that barcode data to an excel file so I add a column (eventually a new piece of attribute data) that says whether or not that specific water meter is radio read or manually read. I want to then import that radio read/manual read excel file back into autocad and have an X appear on the block icon if it is radio read. I also want the barcode information to show up as a label.
My problem:I can't get the barcode object data to export with the locations in one easy excel sheet that I can simply import after I have made my changes.
Find some person on here who knows how to convert object data to attribute data.
View 9 Replies
View Related
Jun 6, 2012
How to get data values to display inside the columns on a column graph?
View 2 Replies
View Related
Oct 21, 2013
I'm trying to change block the definition of an block reference.
I did something like this:
blockreference.BlockTableRecord = newBlock.ObjectId;
In most cases this works well. However I found a case that it not work as well. When I try to change the definition from a new block that I have created in my test DWG, it disappears from the model.
View 6 Replies
View Related
Oct 17, 2013
In Bill of material i have custom PartQty column and is beside QTY column. I need all informations from QTY column to PartQty column to copy. Possible with iLogic? I'm selecting now manualy copy and paste but it would be nice to have automatic.
View 9 Replies
View Related
Nov 14, 2012
How can I copy a linetype definition from a drawing to the linetype definition file?
View 7 Replies
View Related
Mar 20, 2013
I'm not sure what I did to make this happen or how to change it back, but for some reason when I change the size of an object/line it changes the stroke weight as well. (For example, if I drew an ellipse with stroke weight 2 pt, and then increased the size the stroke weight would be 2.856 pt or some such number instead of 2 pt.) How to change this back?
View 3 Replies
View Related
Oct 21, 2013
my drawing file , have block name 'column' but i want to change name from column to new column.
View 2 Replies
View Related
Apr 3, 2013
There is problem with my CorelDRAW X6.
After I import different files in my working file, it's getting hard to work- RAM(16GB) is getting completely full and its almost unworkable!
I checked out Object Manager and found stack with "SVG data" and "Locked SVG data" object there under some basic shapes.
Stack is about from 10000 to 100000... Some times even more, but its not possible to select all them because Corel just stops. What is that- "SVG data" and "Locked SVG data" object and why they are so many there?
View 5 Replies
View Related
Jan 3, 2013
I am trying to publish to the CC a guide rail. The vendor of the rail gives me the option of entering the desired length of the rail. After that he gives me the option to choose between the length that I entered and a shorter and longer standard length witch can be delivered faster.
I want to do the same thing with my published part, but I cannot make a key parameter to change depending on the entered custom parameter. I want the user to make the next steps when inserting from the CC: 1- select the size of the rail; 2-select the type of the rail; 3- enter the desired length of the rail; 4- choose between the desired length and the 2 recommended lengths (I need these 3 lengths to be shown)
Is this possible?
View 9 Replies
View Related
Mar 16, 2012
I have created a table style in ACAD 2012 with all of the cells formatted to what I need. The trouble begins when I bring in a BIAS excel data link to populate the table. I have tried every option in the insert table steps and have even tried all the different options under the modify excel link options. I have toggled the use excel formatting on and off, which does change the table size a small bit, but does not allow the table style to take affect.
I have attached a screen shot of the "good" and "bad" tables. The bad table is what the good table comes in as and it is also what happens everytime the table link updates. It always reverts back to the bad style and then I have to change the table back to the good one by hand - changing each column individually.
Is there a way to attach a data link to a table with the table style holding its shape and formatting?
This happens on all of my drawings and using all kinds of different excel links.
how to bring in the data link??
View 8 Replies
View Related
Feb 7, 2012
I have a problem inserting the slanted columns when I use the "Beam/Column joints" commando. When I insert the slanted column, the beams are divided.
It should look like picture 1, but it always ends up as image 2. How can I solve this?
View 4 Replies
View Related
Mar 15, 2012
I have 45 PCs running Autodesk Inventor 2011 in a student PC lab. We have since set up Vault Server and I need to change the location that these point at.The files that I need to edit can be got to by:
1. Open Autodesk Inventor
2. Click “Pro”
3. Click “Options”
4. Click the “File” tab
5. I need to edit the following: Default templates, Design Data (Styles, etc) and Default Content Centre files.
6. The above three will be pointed to a server that has vault setup on it (\vault emplates, etc).
Now to clarify, Inventor works, I do not need assistance activating it, and I do not need assistance with group policy to set up the install..I need to be able to modify the above with group policy through either the registry (if possible) or some other method.
View 2 Replies
View Related
Aug 28, 2002
I have object data attached to some linework and I want to copy that data to some new entities.Is it possible to copy object data from one entity to another with out having to fill in the table again.
View 3 Replies
View Related
Jun 9, 2011
We need to take polylines from AutoCAD Map 3D to 3ds Max and rename each polyline to have a name of something like "Building Number-Room Number", both of which are defined in our properties for each polyline. Because none of this data is kept on import to Max, we need to do this all in Map 3D, which we are not experienced with. Is there a way to do this, and if so what? We are importing the .dwg files in Max with polylines as splines.
View 2 Replies
View Related
Jan 27, 2013
How can I Get table name of the object data of a selected layer, with C#.
View 4 Replies
View Related
Feb 1, 2011
I have an object with an Object Data Table attached filled in with information. Is it possible to copy the table and information from that object to another object? Tried the obvious, Match Properties, and it did nothing.
View 3 Replies
View Related
May 28, 2013
how to extract geometrical data (lenght, width, height) from 3d object to a tab or an external file?
View 0 Replies
View Related