Jump to content

How to create a Preview image dialogoue box


Recommended Posts

Posted

I'm looking to create a lisp program that allows me to insert blocks by type i.e foundations, details etc and I'm looking to have a preview image of the block so I can see it before inserting it.

 

Any help greatly appreciated

 

I can get the preview box but can't seem to have the actual block on the screen (I reckon it's maybe something to do with zooming the full image)

Posted

You could use SLD files to display the image, or, you could use a vector program to contruct your image from line vectors.

 

How are you currently approaching it?

 

EDIT: Or use OpenDCL :P

Posted

Why not use the tool pallet unless you need more things to happen/

opendcl is cool for alot of things, if you are not using it i would suggest giving it a try.

Posted

Thanks for the comments Guys, going to have a look at OpenDCL, can you suggest any descent sites for tutorials etc

Posted

opendcl.com has a great fourm and the download has a ok hepl file

just get going the post either here or there and you will get help

i've been using it for years now and love it.

Posted

using OpenDCl make the lisp not general because OPenDCL should be installed to run *.ODCL file, Isnt it?

Posted

That is for the Dialog, The lisp file is still *.lsp.

Posted

in the case of using *.ODCL

whats is th usage of *.lsp without *.ODCL?

Posted

I am not sure where you are going with this.

 

The lack of *.dcl or *.odcl only mean no dialog. You of course know you do not need a dialog to run lisp. A lisp that uses a dialog can use either one above. Just a different method to create them. Also OpenDCL provides a more flexible dialog layout with more options similar to those in a VBA dialog which is the key difference between the two.

 

I also want to point out that dcl can be written in Notepad or the VLIDE editor while odcl can only use the OpenDCL editor.

OpenDCL is strictly done thru ActiveX.

Posted
The lack of *.dcl or *.odcl only mean no dialog. You of course know you do not need a dialog to run lisp.

 

However, the LISP will error if written for a Dialog. ODCL is great for the added functionality, but the drawback is that it requires the user to have ODCL installed on their PC, and so the LISP is not as generic.

Posted
However, the LISP will error if written for a Dialog. ODCL is great for the added functionality, but the drawback is that it requires the user to have ODCL installed on their PC, and so the LISP is not as generic.

 

One only needs to have the runtime installed not the full studio, in order to run odcl based programs. Also depending on the size of the program one can use an installer to install there program and the Opendcl runtime.

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...