AutoCAD Civil 3D :: Retrieve User-defined Grid Scale Value Using Autolisp
Jun 5, 2013Is there any way to retrieve a user-defined grid scale value using autolisp in the civil 3d drawing ?
View 4 RepliesIs there any way to retrieve a user-defined grid scale value using autolisp in the civil 3d drawing ?
View 4 RepliesI'm trying to add user defined properties to parcels, and then apply various styles to control shading of parcels, and to display some or all of the user defined data, as applicable depending on the values of that data.
I have managed to create a user defined category within my [User-Defined Property Classification] and then create categories within that classification.
The problem I'm having is that I want to be able to see those classifications in prospector so that I can sort based on those values, and then batch assign styles. How to display the classifications.
So - user defined properties for points are great. My only problem is that I can't copy and paste them between drawings without losing the user defined properties. I've tried it in both c3d 2011 and 2013.
I can export them into a user defined point file and import them into another drawing the same way, but that is more cumbersome than just copying and pasting.
C3D - 2014
I have created a MANHOLE UDP which defines inverts in & out etc as well pipe types and sizes. Is there a way to automatically generate a polyline or feature line which picks up the invertout to invert in of the next manhole by point number? hope that makes sense! I am using Civil3D 2012.
View 1 Replies View RelatedI have defined 3 user-defined contours for various elevations in my pond. I would like to disply them differently from one another, so I set their display styles in the analysis window where I created them. Unfortunately, the are only displayed per the settings in the surface style which is 1 - not what I want and 2 - all identitical. I have tried various settings in the surface style, but the contours will not display the way I have selected in the analysis window.
C3D 2011 w/ latest updates
Is there any chance to get user defined properties using .NET API for civil 2012?
View 9 Replies View RelatedI am trying to write a script to do the following.
For each (cogo point in drawing)
{
If (Raw description == THISCODE*)
{
Replace THISCODE with User defined attribute 1
}
applyDescriptionKey()
}
I am running Civil 3D 2013. Having read through a few of your other threads I noticed that applyDescriptionKey() is 2013 specific.
I am trying to write a script to do the following.
For each (cogo point in drawing)
{
If (Raw description == THISCODE*)
{
Replace THISCODE with User defined attribute 1
}
applyDescriptionKey()
}
i am following the new feature of CIVIL3D 2013. i have some problems with making user defined properties.
when i make a lable style for figure, lable style should be selected.
But i don't know how to make a properties for text of lable style.
see image below. i select the add labels of annotate ribon -> figur -> add figure labels -> edit section of line label style -> layout tap -> contents below text -> you can see the owership which is user defined properties.how to make that properties?
I'm using C3D 2011.
I have made Property clasification for importing attribute imformation from an ascii file.
In the drawing all the information show up.
However, importing the survey point into the survey database, I loses the property classification attributes.
How do you add user defined property classification to the survey database?
Just upgraded from Civil 3D 2010 32-bit to Civil 3D 2011 64-bit. Over the years several user-defined color books were constructed using the Autocad Color Book Editor. With previous upgrades, these ACB files were simply transferred to the new version and worked OK. However, having upgraded to 2011, when the color books are opened, instead of the original colors, the color pages are corrupted, showing what look like Pantone red, green, and blue colors.
View 6 Replies View RelatedI am displaying stationing for my points, the points were brought in with a user defined classification. Then a table was created with the classification.
Base file- table looks good / when I xref the table it loses the station formatting.
I even tried importing all my user defined tables and styles and still didnt work
Civil 3D 2012 SP3
I need to update the user defined property values using C# code,I can see information on how to ge the values of UDP but cannot see any information on how to modify, edit, update or add information to the UDP of a point.Basically in the attached image i want to add "Street light" to the Type UDP.
View 5 Replies View RelatedIs it possible to create user defined data fields that can be attached to a polygon. then be able to export the polygon and data fields to ArcMap
View 1 Replies View RelatedI have a existing ground surface drefed into a model and am trying to get a user defined contour at a set elevation but nothing appears. I have userdefined layer on in the surface style and other ideas why it will not appear?
[URL] ......
I have created user defiined properties to add up to 5 inverts to a topo point object. Each consists of the direction of the invert as an enumerated list that can be picked from (N, NE, S, SE, etc) and the second is the measured distance from rim down to IE. I created these in order IE1_Dir, IE1_Meas, IE2_Dir, IE2_Meas, etc and the first time I used it everything worked fine and was in the proper order. Now after opening the drawing for a 2nd time all of the UDP's are scrambled making it a bit of a PITA to enter into the proper fields.
I do not see any logical order to why it is displaying this way as if it was in order of creation or alphebetical it would not have changed. Is there any way to correct this or is this a case of Civil 3D is going to do whatever it wants to do?
I have a couple of field book file related questions
1. Can you apply a grid scale factor to measured distances when importing from an fbk file? You can apply using coordinate transformation if importing from csv file but I need to use FBK files to allow the user to make changes to the observation data of the points. As far as I can see the translate survey database command allows you to shift easting, northing, rotation and elevation but not scale. There is mention of a workaround at the following link but I could not locate this on the Civil Community.
[URL]....
"The Survey Data must first be imported from the FBK into the Survey Database, then translated/rotated in the Survey Database using the Survey Addition available from Autodesk Civil Community website, or some other third-party solution."
2. Also on fbk files, I have manually typed in alphnumeric point ID's for the point number in the field (see fbk file attached, file extension changed). When importing the resulting fbk file into Civil 3D the point ID's come in under point name and I cannot determine where it is getting the point number from? Opening the fbk file in notepad I do not see any of the point numbers that are getting assigned to the points in C3D. Where these numbers are coming from? Also is it possible to import alphanumeric strings as point numbers using fbk format?
Using description keys would require manually entering in the point ID as an attribute with each point (it automatically appears if added as point number with incremental identifier). This doesnt seem like a big deal but tI may have up to 10,000 sections to survey with 250 points in each section so it would be time consuming.
The neww line expressions for Grid distance are phenominal. My problem is getting them into curves. All I want to do is apply the grid scale factor to the curve length and radius, but I can't narrow down the parameter. The Drawing Scale conversion links to the annotation scale. I've also noticed people just scripting in the value, but that doesn't work when the majority of the office doesn't operate at that level.
Also, I work in grid and need to convert to ground. I noticed that the system only does ground to grid, so I'm inputting an inverted scale factor to get the results in need in my distances.
The act of opening the CHM file is no problem from VBA. However, this particular routine does not use a dialog box, only a "select objects" prompt. I want to allow the user to press "F1" or "'HELP" at this point and have it open my CHM file.
In lisp, you can use (setfunhelp) to do this.
So in theory, if the VBA sub is called like this:
(defun c:foo ()(vl-vbaload "c:/program files/
directory>/sample/vba/drawline.dvb"))
...then the lisp function should work, but it doesn't. Pressing "F1" or "'HELP" during the vba routine, simply opens the AutoCAD HELP to the default page.
I have a drawing from an architect, and they have used a user defined hatch pattern. But I cannot use it. I can find it's name, it shows up in properties and in the hatch tools. But it isn't in any *.pat files and I can't copy it into my tool palettes. where I could find it, it shows up just fine in the drawing, but I can't figure out how to use it in other areas, not even within the same drawing.
View 1 Replies View RelatedI develop addins for Inventor primarily, so the AutoCAD api is very new to me. I'm working in AutoCAD 2010 and visual studio 2012.
I've looked at many posts for getting block attributes, but they either seem to assume I already have the Blockreference, or they give a prompt to the user. I'm hoping to avoid both of those.
I know the info I need is inside of a blockTable by the name of "DET".
Database acCurDb = openDoc.Database;using (Transaction acTrans = CurDb.TransactionManager.StartTransaction()) { //How can I access the blockreference in here which corresponds to the blockTable "DET"? }
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
I need to loop through the user defined properties and create a list. I can create the lost but I can't find a way of looping through the defined properties. I can get property values but only if I know the name.
I need to loop through without knowing the UD name. Is there a way to recursively loop through all of the user defined properties?
If it is possible to define user specified patterns to draw spatial objects (for example connected shapefiles)? If yes, where can I find the *.pat file?
View 9 Replies View Relatedi can easily add user defined properties using Apprentice but i cannot delete them. There is a function to delete but i always get a message back saying the Parameter is Incorrect. When i check the parameter, it IS correct. Any method for deleted User Defined Properties using Apprentice?
View 1 Replies View RelatedHere at work we are have one computer that has some user defined coordinate systems on it, and we are needing to place these coordinate system files onto another computer so we can project some of our drawing files correctly.
What do we need to do in order to move these files from one computer to the next? What do we need to export?
how can i make new(user defined) line type.
View 3 Replies View RelatedI am having some trouble with hatch patterns. We are using FM Systems as our CAFM tool and there is a plugin for it within AutoCAD. The plugin allows you to create hatch patterns for things such as departments and space types. Right now this is working perfectly within AutoCAD 2012. However, when I try to run the routine within AutoCAD 2014, the only hatches that show up are the solid ones. In other words, any pattern that is not a solid pattern does not show up. I tried comparing all of the Hatch System Variables between 2012 and 2014, but still get the same thing.
View 7 Replies View RelatedI am able to create my own leader style, a loop, similar to the "dot blank" option that ACAD provides.
However, as with any leader style, once you pick the starting point of your leader you must extend it a certain length in order for the arrow, dot, slash, etc. to appear. This is a draw back in tight spaces where you are trying to fit the leader and the subsequent text.
Basically I would like to know if there is a setting that will allow me to pick the starting point of the leader and have the shortest length of leader line while still showing the "arrowhead".
I realize I can scale down the arrowhead type to give me more space. I realize I can explode the leader and shorten the line portion of the leader. I realize I can create a block of a "leader" that will give the appearance that I am looking for.
However, these are last ditch options if there is no solution.
Possible to use a block, such as a hex or circle with a number centered, instead of the out of the box number with a period? I have Key Notes that need numbers with a hex, and Construction notes, that need numbers in a circle. I can label these items with multileaders with a user defined block, but when I type out the notes using mtext, I want to use the exact same blocks to number the notes that correspond with my multileader label. I have been manually inserting blocks along side of my un-numbered mtext notes.
View 4 Replies View RelatedI am trying to make an iPart of a fitting where I can change the "Body type" and it will change all the parameters associated with that body type through iLogic. Really I am just playing around in iLogic to see if this is something worth learning. Back to the point, I would like to change a multi-value user text parameter through the iPart table but I cannot find the paramter in the parameters tab.
Since it is a user parameter I thought it would be in the "Other" folder but it isn't. I do however have the other multi-value user number parameter in that folder, which makes me think that maybe I can't use the paramter in the iParts table?
INV 2012 SP1
Windows 7 64 Bit
ATI FirePro V5800
14.0 GB RAM
I have created various symbols to be placed into drawings when required, rather than having to re-create the same sketch every time the drawing is produced.
When I place the symbol I am given the option to select where to insert it, based on the insertion point. The problem is... once the symbol is placed there is no way (that I can figure out) to constrain to the view or dimension to it.