Search the Community
Showing results for tags 'lisp lsp'.
-
Create slope with lisp Polyline (WANT TO ENHANCE)
Prageeth posted a topic in AutoLISP, Visual LISP & DCL
I Have lisp for placing slope and arrow with polyline and i want enhance this to what i need mention in my drawing file..so i have attached lisp & sample drawing file . and also want to enhance lisp for select all polyline at once, currently lisp select on object at once. thanks....- 3 replies
-
- slope lines
- slope
- (and 13 more)
-
MCOLLAR.LSPMCOLLAR.DCL Collar Drawing.dwg Hey Guys yet with another question: I created this DCL that has 5 user input and I would like it to draw this complicated collar for me. Basically, the size of the mast (monopole diameter) is given together with the thickness of the collar plat...
-
I had a problem in the past whereby the first page appeared blank and I pulled out my hair to fix it - now that this problem is over I am back to yet give it another try to see if I can make this routine successful. Upon entering "PUB" command I would have three options (1st one uses autopub) (secon...
-
(robocopy sourcepath destinpath "*.*" "/MIR") (if (newer-p flstxt1 flstxt2) (progn (c:robocopy-T2C) (prompt "******<<< Files are being updated >>>******") (princ) );end_progn if true (progn (prompt "---* No action taken. Files are already up to date! *---") (princ) );...
-
I am trying to include every dwg extenstion in a list, only then to use for each to set them to read-only. (defun Read_only ( file / fso f ) (setq fso (vlax-create-object "Scripting.FileSystemObject")) (if (not (zerop (vlax-invoke fso 'FileExists file))) (progn (setq f (vlax-invoke fso 'GetFile...
-
Corona Virus - update folders server to home help
Sambuddy posted a topic in AutoLISP, Visual LISP & DCL
@Lee Mac hopefully you can answer me in your earliest convenience as almost everyone is moving from offices to homes, I am trying to find a way to update PCs. Basically, the overwrite function does not seem to work for me - if I make an update, I am trying to have to so that it updates the... -
Hey guys, I wrote a routine that automatically change the setting or copy files from server onto C drive. What I am looking for is an idea to invoke these changes each time I make any changes on the source folder. I do not want to search for changes, but rather I was thinking let's say acaddoc...
-
List Box with 4 panes (list boxes) - Insert Action
Sambuddy posted a topic in AutoLISP, Visual LISP & DCL
Hey Guys, I am trying to write a lisp that has 4 or 5 list boxes. "LS1" would be the main list that appears on the first pane. When you click on "General" then second list box then would contain "LS2" as a sub category on the second pane. Then, if for example "LDF" from the second list/ pane is... -
hey guys, I am hoping someone can tell me what is wrong with my cad. I have been fiddling around with the autopublish to generate PDF and it seems somehow a variable or something was made incorrect. As a result, each time I publish say PDF or hard copy, first page/ tab of any project appears bl...
-
The lisp below is lee macs Parsing numerical values from a text. I am wondering how to use this to change the colour within the selected Mtext only for real numbers that accompany "m", for example: 112.35m etc... <number> <dot> <number><m> sometimes there is one space between the real numb...
-
hey Guys, I am hoping someone can let me know what is incorrect about my approach here. I have created 2 routines: IMP-CUI: which renames the old "acad.cuix" and bring in my updated one (do not ask why I did not use "vl-file-copy" method as the result was not satisfactory for me anyways)....
-
Does anyone know where the file is saved each time you load the "LIST" that you saved on this amazing LISP? http://www.lee-mac.com/bfind.html The reason I am asking is because I would like to transfer my list onto another computer but I cannot find where the file is located when you save y...
-
Would anyone help me find and change certain setting I would like to change under Options or preferences: 1) I would like to load and unload a buck of CUIX files - but as always the menu will not show up - I have to then manually do CUILOAD and unload and reload the menus to appear on me...
-
Below is BIGAL`s wonder from 2011. All of which are amazing and never knew could be done! Imagine a 2020 BIGAL!!! Basically what I was trying to accomplish was to setup or configure my computer to then save the setting for any other but some tasks are proven impossible or not done effici...
-
Could someone let me know how to use put-string to arrange text by colour so that example: all content in colour #2 remain but contents in colour # 0 and #4 are removed without changing any of the text format or style? I looked up Wmatch but it seems I cannot get anywhere with that. (setq t...
-
I am trying to retrieve the current dimension style on an open cad file to execute some of my other lisps instead of (Alert blah...), but am not successful. Could someone take a quick look at this and let me know where I am getting it wrong? i had a quick look at tblnext and tblsearch and I thi...
-
I am not even sure how to pose this question - so here she goes: I am not quite sure if you can select content with different colours within a text (see attachment). The code below only finds text colour selected by the layer. Is there a way? My whole intention is to sort them so that...
-
I am trying to make this work but sometimes it works and sometimes does not. Please bare in mind that I just learned POLAR function and it may not the efficient way. The radius through fillet I am choosing sometimes works but sometimes comes up with an error that radius is too big. Is...
-
Hey guys, I am trying to create a label (see attached dwg) using lisp to; upon entering the command: 1) ask for prefix then keep this prefix in memory (in this case BM-SC- let's say) 2) I would just enter the number associated with any block until i change my prefix 3) creat...
-
Could someone guide me through this challenge: I am trying to create a lisp to have sub commands (I am not even sure what you would call it) - and when I search sub command I get a bunch of none sense. My first list is: [Bolt/U-bolt/Pipe/Angle/Plate/Hss-square] then un...
-
What I am trying to accomplish would be two selection types: 1) what the default texts would be + a manual option and 2) where on the dimension the override to happen. I seem not to be able to successfully select one of the options under (initget "(Typ.) (TYpe.) (Plus-minus ±) Manual"): the ma...
-
how do I get the first part to work? how do I combine the two? How do I have it so first pline is drawn/executed, followed by then (c2 command) measure command to insert specific block and then (c3 command) which is offset on both sides and delete original is executed? as you...
-
Could someone take a look at this lisp and let me know how I can get true north based on the North Symbol attached to remember my last pick so I can enter values as angle once the true north is set - I am thinking something like Offset command that keeps last entry if it is at all possible. Attached...
-
I did use STEAL lisp by MAC LEE before but since I am not inserting blocks anymore (Thousands of blocks on master general blocks), also because STEAL mess up the draw order on the hatch in dynamic blocks, is there a way: Upon entering a command to copy a selection coordinates from the source fi...
-
I have seen so many lisps to change the draw order or send hatch to back, but would there be a way to: My dynamic blocks are on layers 0 and defpoint; 1) upon inserting a dynamic block 2) preserve the block draw order or 3) send wipeout at the very back 4) Defpoint la...