Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/13/2022 in all areas

  1. Would not Mtext with a background mask be easier if you change text it hides line, oh yeah second bit click line its still true length not 2 parts with a gap. You can adjust side margin also. I seem to remember make mtext then edit entlast to get the mask.
    1 point
  2. Like Steven P a bit more for you how to draw the vertical lines. (setq pt3 (polar pt1 (/ pi 2.) (+ 10 myoffset))) ; over draw line length by 10 (setq pt4 (polar pt2 (/ pi 2.) (+ 10 myoffset))) ; over draw line length by 10 (command "line" pt1 pt3 "") (command "line" pt2 pt4 "") (setq MyOffset (atof (getstring "\nEnter Offset"))) ; using atof allows decimal values atoi is integer change if required (command "copy" myprofile "" (list 0.0 0.0) (list 0.0 myoffset)) ; copys the profile vertical Now do a trim or a fillet, look into using "pause" in the command. You can use osnap to pick points on the profile but that depends on how you want it like, end or near. You can go further you may want to look into remembering last offset value a slightly different (while function that displays value and enter accepts last value. Add a while to the pick pt1 so keeps repeating. Start simple we are here to help do it step by step. My front end remembers last value for the moment get it all to work.
    1 point
  3. Tricky since for example, some terminals will be empty, some with 1 wire, some 1 wire each side and some with 2 or more wires on a side, some terminal blocks could be 4 long, some could be 64 log - or whatever. Quite a lot of variables that the LISP would have to consider, no doubt one of the experts on here could code it to build up a table automatically - many hours later - and probably charge you as well. What might be simper is the user selects each item of text used to create the table and then at the end of the routine create the table something like: "Select Terminal Block Name: " .... user selection needed Loop 1 "Select or enter Terminal Number"... user selection "Select or enter Ferrule Number" .... user selection "Select or enter Wire Number" ... user selection "Select or enter Equipment Name" ... User Selection "Create table / Select New Connection Option" .. user selection ... restart Loop 1 or create table as required All of these texts can be stored as lists and the lists can make up a table. Since it is lists you can alter which order to select the data on the drawing as you want, might be that you create the table by cable, by terminal block or by equipment. User selecting text is fairly easy with the entget commands - think it needs to be entget rather than selection set so that the user can specify what each text is from when it is selected,
    1 point
×
×
  • Create New...