.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

interop Api to DotNet

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
344 Views, 5 Replies

interop Api to DotNet

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
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

It is REGEN equivalent:
[code]
[ System.Security.SuppressUnmanagedCodeSecurity ]
[ DllImport("acad.exe", CallingConvention = CallingConvention.Cdecl) ]
extern static private void ads_regen();
[/code]
Message 3 of 6
NathTay
in reply to: Anonymous

Using the .NET API.
Autodesk.AutoCAD.EditorInput.Editor.Regen()

Regards - Nathan
Message 4 of 6
Anonymous
in reply to: Anonymous

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
Message 5 of 6
NathTay
in reply to: Anonymous

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
Message 6 of 6
Anonymous
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost