AutoCAD Civil 3D :: LISP Routine For Matching Point Properties
Nov 17, 2013
I'm trying to make a LISP routine that will match point style, label style, marker rotation, label rotation and layer for a selected point to multiple other points. I don't know what the exact variable names are or how to find them.
See the post below for code that is similar too what I'm looking for.
[URL]......
View 2 Replies
ADVERTISEMENT
Dec 27, 2013
I have a CAD file with a couple hundred detail blocks in it, and I am trying to standardize them without haing to block edit each detail block.
What i am trying to do in each block is as follows:
- Explode all dimensions, leaders, and blocks
- Change all objects to layer "0"
- Change all lineweights to default
- Change all object on colors 7 and bylayer to byblock
- Change all text and mtext to arial font
- Delete all points
Civil 3D x64 2012
Win 7 x64 Ultimate
I7 3820 (3.6ghz quad core with HT)
32gig RAM (Corsair XMS3 4x8g)
Intel x z79 mobo (BOXDX79TO 2011 socket)
Radeon HD 7850 2gb GDDR5
View 3 Replies
View Related
Aug 22, 2011
I found this routine but It doesn't work really good (see attachment):
1. We can select block instead of typing the name of it (or simply add this option)
2. That the undo command undo the whole lsp routine instead of undoing all single insertion.
3. That we can Hit the escape key at any point in the routine and it stops the routine correctly instead of writing "too many argu" maybe by undoing the insertion or by stopping the routine correctly at this point.
4. I just found that it does not paste the block directly on the points...? Finally this lsp didn't work at all !
I would like to have a lsp that do SIMPLY this:
1 : Ask wich "points" you want to convert (You know these points that you can change the appearrance in the menu format point style, thats what I mean by "points"). And By the way it would be cool if I could choose to convert the points or to paste my block on those without converting them but it is not that important.
2. Select block in the block listing of insert block popup window and paste it by his default insertion point to all the selected points.
Infos: New blocks on current layer.
View 9 Replies
View Related
Aug 17, 2012
i found this valuable script Lisp routine to insert blocks at point locations and want to modify it but i do not know much about lisp ...
what i want is :
1) script start and asks for a Block Name (in this case QPP1, QPP2, QS, QE, ect)
2) the user picks existing text
3) the script reads the value existing on this text an put it in a variable
4) then erases the pre picked text
5) inserts the block chosen
6) changes block value to number value pre-read
since it do almost all steps except for step 3 and 6
View 4 Replies
View Related
Apr 3, 2013
Any lisp routine that will remove "phantom parcels" in a drawing? They are the parcels many topics on this discussion forum have topics on, that can be selected but can't be deleted by any simple means.
The drawing is relatively new...with minimal objects in it. Just some Feature Lines and 3D Polylines. I have Sites in my drawing...but no parcels. Only thing in the sites are the feature lines. When I do a Q SELECT for the parcels it selects and highlights my feature lines, which is weird.
View 5 Replies
View Related
Apr 2, 2013
Any program or routine in lisp or net that can select a group of 3d polylines in the form of a tin and convert them all to 3d faces?
I know that I can take the 3d polylines and explode them to 3d lines. Then I can use map clean to delete the duplicate lines. Then I can create a C3D surface using the 3d lines. Then I can extract 3d faces from the surface.
View 9 Replies
View Related
Jul 10, 2012
Having trouble with my lisp routine to read from a directory which includes several folders. There is no problem when the files are all mixed in the directory but when dealing with hundreds of files, it makes sense to organize files by types.
Using (ade_aliasadd "BASE" "S:\") and there is no problems when the files are actually there and not in a subfolder called APN_DWG or EAS_DWG. Should I be setting up the environment differently and if so how?
View 1 Replies
View Related
Jun 18, 2012
i've been trying to write a lisp shortcut for drawing cleanup but it keeps asking me for a profile name to load and i cant figure out how to add my .DPF file to my routine.
View 1 Replies
View Related
Jun 18, 2013
is there an option or a lisp routine to create a 3d boundary from closed 3d polylines?
View 8 Replies
View Related
May 30, 2012
how to match up certain points. I have imported 2 point clouds and have tried to use the 'align' tool to specify three points from the source object (cloud) and three points from the destination object (cloud). When doing this, it does not properly align them. The point cloud makes it difficult to select the exact point I would like to align, since there may not be a point at that exact location, but close to it. Does AutoCAD require the points in alignment to match up perfectly or is it capable of doing a best fit?
Also, is AutoCAD capable of creating a solid 3D piece from the point cloud? I would like to take all of my points and make a smooth object.
View 3 Replies
View Related
Jan 3, 2013
I know that there used to be a way in land desktop to change an entire point group to the same layer without having to do each point separately. How to do this in Civil 3d 2011?
View 3 Replies
View Related
Apr 23, 2013
I have a bunch of culvert points in my drawing and I would like to include all of the in the same point group. They all have CUL in the raw discription but some are CUL 0.3 INV, CUL 0.4 INV, etc, etc.
Is it possible to group all of these by just using the CUL somehow so that I don't miss any?
View 2 Replies
View Related
Dec 10, 2012
Is there any chance to get user defined properties using .NET API for civil 2012?
View 9 Replies
View Related
May 10, 2012
I'm currently working on a site layout and came across a problem. The drawing that I have has the site layout with all the points and contour lines included. However, the drawing is exploded. Now, I want to get the point properties and surface properties from this file, but it seems like it isn't the original file and it has been edited. This file also does not come with a point file or surface file. Is there a method to get the point, surface or elevation properties from this drawing?
Also, I have heard that you can create a new drawing and create a surface to read the surface properties of the drawing. Is that possible?
View 4 Replies
View Related
Dec 31, 2013
I would like to know how to write a routine to thaw all layers in current drawing and multiple xrefs; then freeze all, then thaw only certain layers globally for a drawing that is open. Such as a dimension plan will thaw only *-BLDG, *-DIMS, *-RD-*, *BNDRY.
I would like to create one that will fit every project which has a different xref name.
View 2 Replies
View Related
Jun 7, 2013
I need an offset lisp routine to offset a selected line a set distance on each side of the selected line and change the layer of the offset lines to the current layer, and then keep prompting me to select the next line for offsetting until I'm finished.
View 3 Replies
View Related
Oct 11, 2012
I'm trying to write a lisp routine that, when I invoke the mleader command, osmode is set to "nearest" & orthomode is set off. I then would like the original settings to be returned.
attached is what I have written so far:-
View 4 Replies
View Related
Jun 28, 2013
I've seen it's possible to match a property from one drawing into other using the same command. It's necessary to set something else?
View 1 Replies
View Related
Aug 26, 2013
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?
View 4 Replies
View Related
Nov 11, 2012
I'm using CAD 2009. I've inserted a Bitmap image (a company logo) and I want to insert text with the same colour as the logo.
Can I sample the colour in the logo and apply it to the text? NB - I really don't want to go through all the colour options in CAD to find the nearest match.
I want to do something like the Microsoft Paint 'Pick Color' option.
View 3 Replies
View Related
May 17, 2013
I have a dozen of drawings each with a layer named LOGIC. I have modified layer properties (default color, line style, etc.) on one of them and I want to replicate these properties to the others.
View 1 Replies
View Related
Apr 19, 2012
My main issue with 2010 is with Match Properties. When I start the command, I am used to selecting the source object and then selecting those to be changed. With 2010, the command prompt is asking that I select all objects to be changed and THEN select the source.
I love AutoCAD 2008. As soon as I started using 2009, then 10, and 2012, I realized that the Autodesk engineers are attempting to 'improve' the program but not for those who have been using cad for 10-15 yrs, but rather for those who are new to it. It stinks!! I don't want CAD to be so 'user-friendly' that it clogs the system, adds a bunch of nuances that we don't want, and makes things more cumbersome!
View 9 Replies
View Related
Nov 29, 2012
Just switched to 2012 from 2010. When I try to edit the description format field in the properties window of a selected cogo point, I can't type in caps, it's all lower case. If I right click and edit the point, I can use capital letters, however. (running C3D 2012 sp4, Win7 64bit, 8GB)
View 2 Replies
View Related
Feb 19, 2013
I am having trouble drilling down to the object that contains the point label components. Specifically, I would like to access values such as Anchor Component, Anchor Point, Text Height, X Offest, and Y Offset for the various components of the Point Label Style. I am able to get the Point Label Style by name (object dump below) but I don't know how to get at the components that I want to work with.
; IAeccPointStyle: IAeccPointStyle Interface; Property values:; Application (RO) = #<VLA-OBJECT IAeccApplication 000000004965fbc0>; CreatedBy = "Cooper"; CustomMarkerStyle = 0; CustomMarkerSuperimposeStyle = 0; DateCreated (RO) =
[Code]....
View 2 Replies
View Related
Dec 4, 2012
I have a lisp routine and I keep getting NIL. I want it to draw a door and I want to be able to move it.
(defun c:door ()
(DEFUN dtr (A)
(* PI (/ A 180.0)))
(setvar "CMDECHO" 0)
(DEFUN INFO ()
(setvar "OSMODE" 0)
[code]....
View 1 Replies
View Related
Aug 16, 2012
I put mleader into a LISP routine and it is doing the text attached to it only in the command line instead of in the drawing is ther a way to put mleader into a LISP routine and have it do the same as when you just type in mleader?
View 2 Replies
View Related
Jul 25, 2012
We are moving from AutoCAD Map 3d ver 10 to ver 11. There's a lisp routine I use all the time and it doesn't seem to want to work in the newer version 11. this routine is supposed to fill but like I said doesn't work in ver. 11.
View 1 Replies
View Related
Nov 24, 2011
We have just finished modelling hundreds of pits/manholes in 3d, to import into 12d as required by our current project.
After importing into 12d we have realised that all the faces are back to front as the dark edges are facing outwards, and the light edges are facing inwards on the pits.
Is there a way to globally flip, or perhaps a lisp routine to flip all the faces?
View 0 Replies
View Related
Nov 21, 2013
Basically, the routine asks for the user to choose the hatch type (Retirer/Percer), then the layer (Defpoints/Select/Current) and finaly the type of the object to draw (Polyline/Rectangle). My original routine has also a Circle and a Boundary options, and an Error trap to reset the variables but I will keep it simple for the purpose of my issue.
So, my issue is: when I choose the type of object to draw, it draws just one of it and the routine ends. I would like to have something that "says" to the routine that I want to keep drawing that object (Polyline or Rectangle) and putting the hacth inside until I do enter and then the routine goes to its end.
View 9 Replies
View Related
Aug 29, 2012
Lisp routine for creating item balls with an arrowhead and a one to two digit number in the balloon?
View 7 Replies
View Related
Jan 24, 2012
I am using a fairly old Lisp to generate section arrows, started using this in 2000 and up until 2011. Since we have installed 2012 the routine does not work correctly, after inserting block with attributes instead of bringing up dialogue box it inserts next line of string in to the dialogue box. I have attached lisp routine and blocks
View 6 Replies
View Related