.NET

Reply

interop Api to DotNet

166 Views, 5 Replies
10-02-2006 12:25 AM
I need to convert the commands interop.regen and
interop.zoom?????'(extent,windows,etc) with managed DOTNET equivalent.
Some help?


Thank's in advance
GPaolo
Distinguished Contributor
303 Posts
1 Kudo
Registered: ‎09-26-2004
Post 2 of 6

Re: interop Api to DotNet

10-02-2006 04:45 AM in reply to: *GPaolo
It is REGEN equivalent:
[code]
[ System.Security.SuppressUnmanagedCodeSecurity ]
[ DllImport("acad.exe", CallingConvention = CallingConvention.Cdecl) ]
extern static private void ads_regen();
[/code]
Distinguished Contributor
1,691 Posts
3 Kudos
Registered: ‎12-15-2003
Post 3 of 6

Re: interop Api to DotNet

10-02-2006 04:50 PM in reply to: *GPaolo
Using the .NET API.
Autodesk.AutoCAD.EditorInput.Editor.Regen()

Regards - Nathan

Re: interop Api to DotNet

10-02-2006 10:50 PM in reply to: *GPaolo
Thank's Nathan and for the ZOOM's serie command?




ha scritto nel messaggio
news:5348132@discussion.autodesk.com...
Using the .NET API.
Autodesk.AutoCAD.EditorInput.Editor.Regen()

Regards - Nathan
Distinguished Contributor
1,691 Posts
3 Kudos
Registered: ‎12-15-2003
Post 5 of 6

Re: interop Api to DotNet

10-02-2006 10:56 PM in reply to: *GPaolo
This is what I could find in the Object Browser.

Autodesk.AutoCAD.GraphicsSystem.View.Zoom(Double)
Autodesk.AutoCAD.GraphicsSystem.View.ZoomExtents(Autodesk.AutoCAD.Geometry.Point3d, Autodesk.AutoCAD.Geometry.Point3d)
Autodesk.AutoCAD.GraphicsSystem.View.ZoomWindow(Autodesk.AutoCAD.Geometry.Point2d, Autodesk.AutoCAD.Geometry.Point2d)

Regards - Nathan

Re: interop Api to DotNet

10-06-2006 12:44 AM in reply to: *GPaolo
MANY THANK'S
GPAOLO

ha scritto nel messaggio
news:5348278@discussion.autodesk.com...
This is what I could find in the Object Browser.

Autodesk.AutoCAD.GraphicsSystem.View.Zoom(Double)
Autodesk.AutoCAD.GraphicsSystem.View.ZoomExtents(Autodesk.AutoCAD.Geometry.P
oint3d, Autodesk.AutoCAD.Geometry.Point3d)
Autodesk.AutoCAD.GraphicsSystem.View.ZoomWindow(Autodesk.AutoCAD.Geometry.Po
int2d, Autodesk.AutoCAD.Geometry.Point2d)

Regards - Nathan
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!