Jump to content

Define a regen after closing DWGPROPS?


Recommended Posts

Posted

Where can I change the height

 

Wo kann ich die Höhe ändern

  • Replies 25
  • Created
  • Last Reply

Top Posters In This Topic

  • Keywordkid

    10

  • dober

    3

  • BlackBox

    3

  • nod684

    2

Top Posters In This Topic

Posted Images

Posted (edited)

RM,

 

Don't know if you have been following developments but Kruuger has provided some useful code. I have been trying to set the reactor to the 'cup' command from his EditCustomProperties.lsp, I thought it would be a simple replace DWGPROPS with Cup in your code but it hasn't worked for me. Any idea why this may be?

 

KWK

 

Edit: Not to worry, instead of using a reactor for this I added a 'REGEN' into Kruuger's code:

  (kr:DWG_AddCustomProperties (car %) (cdr %) nil)
         )
         (princ "\n>> Custom drawing properties updated. <<")
       )
     )
   )
 )
(command ".regen"))
; ============================================================ ;
; Update list_box                                              ;
; ============================================================ ;

Edited by Keywordkid
Found solution
Guest kruuger
Posted
  dober said:
Where can I change the height

 

Wo kann ich die Höhe ändern

CUP : dialog {
 label = "Custom properties";
 width = 62;
 height = 5;
 : row {
   : list_box {
     key = "PROP";
     label = "Name";
     width = 35;
     [color=red]height = 25;[/color]
     multiple_select = true;
     fixed_width_font = true;
   }
   BUTTON_EDIT;
 }
 BUTTON_OK_CANCEL;
}

add one line as above

  • 7 years later...
Posted

Hello - I've tried to use the CUPI command for the EditCustomProperties.lsp.  Unfortunately, it is not working.  Is there a specific process for importing custom properties?    I use the CUPE function to export properties from one drawing and try to import the properties with CUPI into another drawing.  The autocad command prompt doesn't give me any feedback... it doesn't give any errors either, so I am unsure if the CUPI actually executes at all.  Any help will be much appreciated.

Thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...