Author Topic: Showing a slide file from a dcl button?  (Read 8156 times)

0 Members and 1 Guest are viewing this topic.

Brick_top

  • Guest
Showing a slide file from a dcl button?
« on: November 07, 2014, 04:21:30 AM »
Does anyone know if it is possible?

I'm calling the vslide command from a dcl button. I would like the dcl menu to stay visible while the slide is active.

thanks

edit - I can prepare a sample code and files but I just wanted to know if anyone knows if this is possible.
If the files and code is needed I will post it.

Brick_top

  • Guest
Re: Showing a slide file from a dcl button?
« Reply #1 on: November 07, 2014, 04:59:23 AM »
ok I prepared some test files

Here is the content of the zip file and what to do

test.lsp -> put this file in the autocad search path or else the dcl file it creates won't work

Lar Pias_18_08_2014.dwg
Slides - Folder with the slides I want to see from the dcl

put the dwg file and the slides folder next to it. (just as it unzips)

open the dwg file and load the test.lsp

type test to run the command. Only the First "Slide 1" button has the code I thought could work, so only click on that. In my computer autocad freezes.

thanks


roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Showing a slide file from a dcl button?
« Reply #2 on: November 07, 2014, 05:08:11 AM »
Why don't you use an image tile inside the dialog to display the slide?

Brick_top

  • Guest
Re: Showing a slide file from a dcl button?
« Reply #3 on: November 07, 2014, 05:09:53 AM »
Never thought about it.

the slides I want to see are the size of the autocad model screen. Will they be visible inside a menu?

the number of slides I want to see are variable and the buttons are created according to that number.

I'm hoping this isn't a problem


roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Showing a slide file from a dcl button?
« Reply #4 on: November 07, 2014, 06:46:14 AM »
I'm hoping this isn't a problem
No. Just look at the slide_image function.

hermanm

  • Guest
Re: Showing a slide file from a dcl button?
« Reply #5 on: November 07, 2014, 09:55:33 AM »
Yes, this is possible.

Example here:

http://www.tktn.com/utilities/tkutil.htm

NJUSTIFY.ZIP

Note:

It is also possible to do this with OpenDCL.

http://opendcl.com/wordpress/

d2010

  • Bull Frog
  • Posts: 326
Re: Showing a slide file from a dcl button?
« Reply #6 on: November 08, 2014, 09:32:10 AM »
Does anyone know if it is possible?

YOU TRY , MY HAPPY SUDOKU-vlx (OR DCL GAMES) -ONLY  acad->exe
YOU ENTER THE COMMAND  Q2<ETER>
you click  any cell  on grid 9x9  with  mouse.
IF YOU NEED , the  programe-fas or des
 for other  platforms (BrisCAD,NnoCAD),  THEN 
you contact  user-admin..


Brick_top

  • Guest
Re: Showing a slide file from a dcl button?
« Reply #7 on: November 10, 2014, 05:02:44 AM »
Sorry I didn't have access to a computer during the weekend.

I'll try these options you guys showed me! thanks

Brick_top

  • Guest
Re: Showing a slide file from a dcl button?
« Reply #8 on: November 10, 2014, 05:10:32 AM »
Yes, this is possible.

Example here:

http://www.tktn.com/utilities/tkutil.htm

NJUSTIFY.ZIP

Note:

It is also possible to do this with OpenDCL.

http://opendcl.com/wordpress/

Hi herman, I tried your routine but I think I didn't explain myself very well.

What I want to do is to show slide files in the modelspace when pressing buttons on a dialog.

but with what I have currently autocad freezes. I uploaded some test files up there if anyone wants to check.

Brick_top

  • Guest
Re: Showing a slide file from a dcl button?
« Reply #9 on: November 10, 2014, 05:39:25 AM »
Does anyone know if it is possible?

YOU TRY , MY HAPPY SUDOKU-vlx (OR DCL GAMES) -ONLY  acad->exe
YOU ENTER THE COMMAND  Q2<ETER>
you click  any cell  on grid 9x9  with  mouse.
IF YOU NEED , the  programe-fas or des
 for other  platforms (BrisCAD,NnoCAD),  THEN 
you contact  user-admin..

Very cool game! I see the slides changing at least its confirmation that it works inside a dcl dialog! thank you

ElpanovEvgeniy

  • Water Moccasin
  • Posts: 1569
  • Moscow (Russia)
Re: Showing a slide file from a dcl button?
« Reply #10 on: November 10, 2014, 06:20:32 AM »

Brick_top

  • Guest
Re: Showing a slide file from a dcl button?
« Reply #11 on: November 11, 2014, 06:39:41 AM »
Wow Elpanov that is absolutely amazing to me :o

but pardon my ignorance as I don't understand what does it do.


Brick_top

  • Guest
Re: Showing a slide file from a dcl button?
« Reply #12 on: November 12, 2014, 06:24:10 AM »
Hi,

I couldn't get it to work with the regular vslide command issued from the dcl button.

So I now have the slides in the dialog and I'm happier because I can zoom and move.

thanks for all your help guys

d2010

  • Bull Frog
  • Posts: 326
Re: Showing a slide file from a dcl button?
« Reply #13 on: November 12, 2014, 03:35:47 PM »
Hi,
So I now have the slides in the dialog and I'm happier because I can zoom and move.

thanks for all your help guys

You  view my movies youtube-clone-html;:
http://www.puiubrat.3x.ro/carto3A/bya_topoltopt.files/lspfn_ddvslide.html
If you need  the  source.. then you found  url-s..

Brick_top

  • Guest
Re: Showing a slide file from a dcl button?
« Reply #14 on: November 13, 2014, 04:22:29 AM »
ei d2010 that is much nicer than what I have, I'm doing it with buttons!

I have to search how to do it with those sliders.

very cool!