.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*Saber
Autocad and VB.Net (newbie)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
198 Views, 2 Replies
07-20-2005 02:28 AM
Everything is bad at the begining of work!
I need to code an application to read DWG files and then give the users
the ability for zooming and panning.
I did lots of searches over the net using different keywords, but couldn't
find something usable.
here is an API written by VB 6, is there something similar for VB.Net ?
http://www.ipdg3.com/sourcecoderesults.php?option= sourcecode&id=000033
Would you help me?
Thanks
PS- I found another article here:
http://management.cadalyst.com/cadman/article/arti cleDetail.jsp?id=164772
but when I try to run the sample, in this line I get a syntax error:
acadApp.DocumentManager.MdiActiveDocument.Editor.W riteMessage( _
vbNewLine & "Hello World!" & vbNewLine)
Here is the Error:
'Editor' is not a member of 'Autodesk.AutoCAD.ApplicationServices.Document'
--
Saber S.
I need to code an application to read DWG files and then give the users
the ability for zooming and panning.
I did lots of searches over the net using different keywords, but couldn't
find something usable.
here is an API written by VB 6, is there something similar for VB.Net ?
http://www.ipdg3.com/sourcecoderesults.php?option=
Would you help me?
Thanks
PS- I found another article here:
http://management.cadalyst.com/cadman/article/arti
but when I try to run the sample, in this line I get a syntax error:
acadApp.DocumentManager.MdiActiveDocument.Editor.W
vbNewLine & "Hello World!" & vbNewLine)
Here is the Error:
'Editor' is not a member of 'Autodesk.AutoCAD.ApplicationServices.Document'
--
Saber S.
*Saber
Re: Autocad and VB.Net (newbie)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-20-2005 02:31 AM in reply to:
*Saber
Forgot to say:
I'm using Autocad 2005
.Net FrameWork 1.1
--
Saber S.
"Saber" wrote in message
news:4905947@discussion.autodesk.com...
Everything is bad at the begining of work!
I need to code an application to read DWG files and then give the users
the ability for zooming and panning.
I did lots of searches over the net using different keywords, but couldn't
find something usable.
here is an API written by VB 6, is there something similar for VB.Net ?
http://www.ipdg3.com/sourcecoderesults.php?option= sourcecode&id=000033
Would you help me?
Thanks
PS- I found another article here:
http://management.cadalyst.com/cadman/article/arti cleDetail.jsp?id=164772
but when I try to run the sample, in this line I get a syntax error:
acadApp.DocumentManager.MdiActiveDocument.Editor.W riteMessage( _
vbNewLine & "Hello World!" & vbNewLine)
Here is the Error:
'Editor' is not a member of 'Autodesk.AutoCAD.ApplicationServices.Document'
--
Saber S.
I'm using Autocad 2005
.Net FrameWork 1.1
--
Saber S.
"Saber"
news:4905947@discussion.autodesk.com...
Everything is bad at the begining of work!
I need to code an application to read DWG files and then give the users
the ability for zooming and panning.
I did lots of searches over the net using different keywords, but couldn't
find something usable.
here is an API written by VB 6, is there something similar for VB.Net ?
http://www.ipdg3.com/sourcecoderesults.php?option=
Would you help me?
Thanks
PS- I found another article here:
http://management.cadalyst.com/cadman/article/arti
but when I try to run the sample, in this line I get a syntax error:
acadApp.DocumentManager.MdiActiveDocument.Editor.W
vbNewLine & "Hello World!" & vbNewLine)
Here is the Error:
'Editor' is not a member of 'Autodesk.AutoCAD.ApplicationServices.Document'
--
Saber S.
Re: Autocad and VB.Net (newbie)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-21-2005 07:55 PM in reply to:
*Saber
Hi,
If I remember correctly, there is no Editor class available in AutoCAD 2005 API. That sample might have been written for AutoCAD 2006. Use CommandLinePrompts class to write message to out put window in 2005.
Naveen.
If I remember correctly, there is no Editor class available in AutoCAD 2005 API. That sample might have been written for AutoCAD 2006. Use CommandLinePrompts class to write message to out put window in 2005.
Naveen.
