Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/23/2021 in all areas

  1. Run your script and then press F2 for the command history, you should be able to see where the problem is, if there is a problem you would probably see something like 'invalid command' or some other error message before the script tries to go onto the next command or input from your script. (a script won't stop at an error it just tries to blindly continue on so you need to look for the first error) then it is just a question of fix the error and try again. If you are not sure then run the script then copy your coomand history and post it here.
    1 point
  2. At a glance for changing properties both Ltype & Ltscale start with LT. Changing LT to Ltype may help. As Lineweights are real numbers setting them to 0.0 instead of 0 may help. I believe the stopscript command may be used in other software but not in AutoCAD? I'm a lisper who hasn't written any scripts in a long time.
    1 point
  3. dclnam :dialog {label="AutoParcel"; spacer; :boxed_row {label="Fixed values";:edit_box {label="Text Size";key="txtsize";}:edit_box {label="Decimal";key="txtdec";}} :boxed_row {label="Other options"; :column {children_alignment=centered;:text_part {key="tp_1";} :toggle {label="Area";key="togarea";}:toggle {label="Perimeter";key="togpri";}} :column {children_alignment=centered;:text {label="Prefix"; } :edit_box {key="areaprefix";} :edit_box {key="priprefix";}} :column {children_alignment=centered;:text {label="Suffix"; } :popup_list {key="areasuffix";} :popup_list {key="prisuffix";}}} spacer; :row {fixed_width=true;alignment=centered;:button {key="utmsave";is_default=true;label="Save";}:cancel_button {label="EXIT";}} }
    1 point
×
×
  • Create New...