Author Topic: New ObjectDCL alternative for 2007 w/ palettes...  (Read 27087 times)

0 Members and 1 Guest are viewing this topic.

domenicomariapisano

  • Guest
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #15 on: July 15, 2006, 04:21:30 AM »
As for language, I have no doubt that you'll pick up VB.NET, or C#, without a lot of trouble. 

Hi

Is there a B l o c k V i e w control  ?
(I need and :love: it)

ciao

domenico

Bobby C. Jones

  • Swamp Rat
  • Posts: 516
  • Cry havoc and let loose the dogs of war.
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #16 on: July 15, 2006, 06:09:03 PM »
And what about going the other way. Can VS2005 compile for Acad2006?
Yes.  Although you'll need to specify the 1.1 version of the framework in the acad.config file.

Also, can I get VS2005 Express working?
This makes me think so: http://through-the-interface.typepad.com/through_the_interface/2006/07/getting_the_obj.html
I haven't tried them myself, but it does appear that the express versions will work.
Bobby C. Jones

Bobby C. Jones

  • Swamp Rat
  • Posts: 516
  • Cry havoc and let loose the dogs of war.
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #17 on: July 15, 2006, 06:16:04 PM »
Ok Ok you've convinced me.
Whew!  I'm taking some vacation now :-)  But seriously, I'm glad that you're looking into it.  I promise that you'll be glad that you spent the time getting to know .NET instead of VBA.

However in a cruel twist of fate I can't get the Windows Installer to work on my machine!  I downloaded C# Express (to learn on) but couldn't get it loaded! :realmad:
Bummer!

Thanks for posting Bobby!  Everyone Have a good weekend!!!

jb
De nada!  And you have a great one too.
Bobby C. Jones

Bobby C. Jones

  • Swamp Rat
  • Posts: 516
  • Cry havoc and let loose the dogs of war.
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #18 on: July 15, 2006, 06:24:46 PM »
As for language, I have no doubt that you'll pick up VB.NET, or C#, without a lot of trouble. 

Hi

Is there a B l o c k V i e w control  ?
(I need and :love: it)

ciao

domenico
adesk has not provided a managed blockviewer control.  Sorry domenico!
Bobby C. Jones

domenicomariapisano

  • Guest
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #19 on: July 16, 2006, 03:32:51 AM »

adesk has not provided a managed blockviewer control.  Sorry domenico!

Hi
Is the BlockView control available only for authorized developers ?
What have I to do to know the list of all AutoCAD related available controls ?
Is the HatchPreview available for the people ?

thanks
domenico

LE

  • Guest
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #20 on: July 17, 2006, 10:07:16 AM »
Is the BlockView control available only for authorized developers ?
What have I to do to know the list of all AutoCAD related available controls ?
Is the HatchPreview available for the people ?

1. There was a class made by Frank Oquendo "ImageView.cls" some moons ago, that you can use in VBA.
2. In ObjectARX you simple use the CGsPreviewCtrl or acdbDisplayPreviewFromDwg().
3. For C# use DllImport to import acdbDisplayPreviewFromDwg.

About the hatch preview, I have not tried anything using that... no idea.

domenicomariapisano

  • Guest
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #21 on: July 17, 2006, 10:23:52 AM »

1. There was a class made by Frank Oquendo "ImageView.cls" some moons ago, that you can use in VBA.
2. In ObjectARX you simple use the CGsPreviewCtrl or acdbDisplayPreviewFromDwg().
3. For C# use DllImport to import acdbDisplayPreviewFromDwg.

Thanks for the reply,
but be aware that the BlockView control (contained in ObjectDCL)
is able to show Blocks and DWGs,
and allows zoom, pan, orbit
and it is possible to decide the shade mode style (wireframe, hidden . . .),
while the DWGPreview allows only to see a bitmap of the DWG . . .

ciao

domenico

LE

  • Guest
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #22 on: July 17, 2006, 10:27:51 AM »
Yes I know... I was an user of ObjectDCL...

In ARX you can do the same.

BTW, to those that know .NET I found: Autodesk.AutoCAD.DatabaseServices.Database.ThumbnailBitmap in the ObjectARX functions to managed members map
« Last Edit: July 17, 2006, 10:53:12 AM by LE »

LE

  • Guest
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #23 on: July 17, 2006, 10:33:28 AM »
And I almost forgot about Master Byron Blattel CAcadThumb Class (free)

http://www.cadwerx.net/public/downloads/CAcadThumb.zip

LE

  • Guest
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #24 on: July 17, 2006, 12:01:34 PM »
I am including a sample done in ObjectARX (The C++ SLN) (it took me like 5 minutes to write) and the arx release file for AutoCAD 2004-2006, it is a very simple routine. Once I became comfortable with .NET I will start posting some samples too.

Have fun.

btw, there is a solution sample provided in the ARX SDK about "blockview", that has more options included.

« Last Edit: July 17, 2006, 12:03:39 PM by LE »

paul_s

  • Guest
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #25 on: July 18, 2006, 01:38:13 PM »
Hello,

I dont know with the other guys, but I'm so confuse reading
reading all this. What is ".net". Do I have to buy this?

What is vs2005.net? C# express? Is it a programing language
or software? How much does it cost?  Are there other
tools/software/compliers that we need?

I want to learn all this but I dont want to kid myself too.

I tried the demo product from the gentleman from France.
It looks good and fairly easy.

LE

  • Guest
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #26 on: July 18, 2006, 01:55:11 PM »
Here is the link to the FREE express versions:

http://msdn.microsoft.com/vstudio/express/default.aspx

Wait for the masters in VB.NET / C# to inform what versions you need per AutoCAD...

paul_s

  • Guest
Re: New ObjectDCL alternative for 2007 w/ palettes...
« Reply #27 on: July 18, 2006, 02:06:49 PM »
Thanks LE......I'll wait.