I want to use the "Profile Sample" program supplied with C3D to create an alignment and profile. I am creating the stations and elevations in LISP and want to send them to the "Profile" program. I have seen in a C# program the use of an Array to send the data. I would like to do the same. eg.
Is it possible to write a program for cross section by manual input of data like below. Objective is to draw a cross section with grid lines and labels of section data and datum value.
I want to write a very simple AutoLISP program to scale selected objects by a factor of (1/25.4). How to I get the program to pause and allow the user to select the base point? I know that "~" will bring up a selection window, but what is the character that will allow point selection (in this context)? While we're at it, what is the operator that would trigger a pause and allow user command line input?
In my acaddoc.lsp I have it load an autoload.lsp file that contains many lisp routines (attached). I am getting the "extra right paren on input" error. It appears to error after the third line in the autoload file "san18"....I removed everything after the third line and no error, I put them back and it errors and only loads first three?
I am using Civil 3D 2014 and I have added all neccesary paths to the trusted locations.
I would like to automate drawing process for certain data. Using some LISP codes User will be asked to provide some data and using that data an automatic drawing needed to be developed at Drawing editor of AutoCAD. For example;
Enter the width of Sheet: 50 mm enter the length of Sheet: 200 mm Enter the sheet thickness: 5mm Enter type of feed: Automatic Are there holes in Strip: Yes/No Specify nu of holes: 5 Position of holes Centre: 5,5 Distance between the holes: At an interval of 20mm each
Is there a way to have an alert box pop up at a certain point in the code which gives the user a chance to cancel the LISP program and not proceed any further?
I would like to eliminate a mouse click in my program. I use getstring to allow the user to either enter in an integer or a distance used for labeling in a drawing, but I could eliminate the need for the user to then click an option that completes the label if I only knew how to determine if the entry is an integer (such as 5 or 15) or a distance (such as 24" or 36").
I have a list function that asks for the user to pick points when it is run. It looks something like this (foo arg1 arg2) When invoked it asks the user to pick points and press enter when done It.
Instead of getting the points from the user i want to pass it a list of pre-defined points. The code cannot be changed so I must use it as is.Is this possible, if so how can it be done?
My need is to create up to 50 points from the same origin in a three dimensional Cartesian coordinate system but I’d also like to have a labels for each point that show up in the feature tree.
Are there Inventor 2013 plugin (i.e., add-on, 3rd party, AP) to convert a list 3D Cartesian coordinate system locations (i.e., points) to Inventor to work points(x, y, z)?
I found that I cannot create 3D points in the assembly. Is this correct? I did find that an Inventor part may be used to create a 3D sketch that creates points in 3D space. In the past few days, I found two ways to create 3D points within a iPRT; the batch way uses an Excel file but it then does not allow me to name the points in the feature tree. The second way is to create them one at a time but that take way too much time.
I saw another thread on this, but it went unanswered, so I am going to ask it with some better information.I installed inventor pro 2012, and it was working fine for a few days, but it now is missing the input boxes for the Precise Input window. URL....
Just a quick one. About 4 years a go I put a numbering lisp into AutoCad I still have the numbering lisp and now want to put it into AutoCad 2012. I can't remember for the life of me how to do it.
I need to change the radial acceleration value in Civil3d when designing for super elevated bends to shorten the transition of a track. I can calculate the transition manually but is there a way i can input this data in the design criteria while carrying out the alignment geometry design in Civil 3d.
I'm trying to use an expression for text height and everytime I enter the name of the expression I get "Invalid Input". Is there a trick to doing this?
I even changed a style that "HAD" allowed me to use an expression, to a number then tried to reenter the same expression name that was there and get "Invalid Input".
I have a lisp program which will create a cover sheet for my electrical drawings by extracting data from the title block. Once this is done, I manually print the cover sheet.
What I would like is to create the cover sheet, have the lisp program pause, print the cover sheet, then when printing is done, quit the drawing file so the cover sheet does not remain.
I tried several approaches, but the lisp program finishes before the cover sheet prints.
What I was thinking of was in a loop some times I need multiple sets of similar variables but am not sure how many sets I am going to need. I would like to be able to increment the variable names each time the loop runs.
I just learned the input formats of points (like PENZD, PNEZD, etc.). I want to know the input format of Survey. Need information of input format of Survey.
I've been working in C3D for about 5 yrs now, and one thing that drives me absolutely nuts about it is how to get the correct layers to display when plotting different sheets out of the same drawing, regardless of the layer state of my model. I worked in Terramodel for about 5 years prior to coming back to AutoCAD and became spoiled by the ease with which layers displayed on different sheets in the same drawing. You assigned a layer state to the viewport and that viewport always plotted that way.
It didn't matter what layers were on or off, frozen or thawed in the model view, once you jumped over to the sheet it always looked the same once you set it up. In C3D I've tried viewport overrides, jumping into the viewport and setting the layers then saving the layer state... All sorts of different approaches, but I've never found anything that really works. My projects are typically small enough that I have all of my sheets in the same drawing but want different layer settings on different sheets.
These 8 points are for 4 sampling locations with 2 depths for each sampling location. I used AutoCAD 2012 a little bit before and I am new in using AutoCAD Civil 3D 2013. What are the key steps and tips of using the values of XYZ-coordinates listed the above-mentioned table to input manually into the AutoCAD Civil 3D 2013 program. Note: 4 sampling locations are in the 4 corners of a square lot and the 8 points should look like 8 corners of a box.
I have an AutoLISP program that hangs up for no apparent reason. I can run the program with an Alert in the loop. The program is a sheet generator, creating a border (insert with attributes), dimensions and MultiLeaders in Model Space, then a new Layout Tab is generated and the new elements are CHSPACEd into the new layout. An Alert temporarily halts the program once the task of a new Layout is created. In this form, the program works as designed. However, if I comment out the Alert, the program hangs up as if in an infinite loop. Also, hitting Escape does not cancel the AutoLISP, I must use Task Manager to end AutoCAD instead. My computer was recently upgraded to Win7 64-bit. I'm running 64-bit versions of software. (AutoCAD MAP 2011).
Have an AutoLisp program that inserts a block with attributes. Been using it forever. Yesterday I ran the program and somehow when the block is inserted, it skips the Y scaling factor. The program should insert a block at a point with a X scale of 19.2, Y scale of 19.2, Rotation at 0 and then four attribute values.
What is happening is the block is inserted at the correct point and X scaling factor, but the Y scaling factor goes in for the Rotation angle (19.2 degrees), the Rotation angle goes in as the first attribute and the remaining attributes are shifted over and the last attribute is missing.Line of code is:
I've created a simple cutdown kerb in Subassembly Composer 2013. I can't add Point, Link or Shape Codes & get the error message " The code (Flange for example) is not a valid input parameter or variable.
Is it possible to create subassembly from C3D Stock Subassemblies.dll programmatically using .NET? I need call procedure (Basic Lane for example), set all input parameters and create subassembly in drawing.
I have an irregular shaped polyline in civil 3d that needs to be 31.5 acres. It is currently 32.8 acres. Without manually rescaling this polyline over and over again in order to achieve a polyline that represents 31.5 acres, can Civil 3D automatically draw the polyline to represent 31.5 acres for me?