Message 1 of 6
Snap Angle function
Not applicable
06-02-2010
03:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I want to get the crosshair angle I set in my model space using the SNAPANG command in my .NET assembly.
As per the ObjectARX managed class documentation there is a SNAPANGLE() function that returns the crosshair angle in the ViewPortTableRecord class but I dont see that method in that class when I checked using SharpDevelop class browser.
I'm using AutoCAD 2008
I have included the following:
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoCAD.Interop;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.Windows;
using Autodesk.AutoCAD.Colors;
Is there any thing else I need to include? or Is that method not available anymore.
Has anyone successfully accessed the crosshair angle previously?
Thanks,
Rav Edited by: sriva041 on Jun 2, 2010 10:22 PM
I want to get the crosshair angle I set in my model space using the SNAPANG command in my .NET assembly.
As per the ObjectARX managed class documentation there is a SNAPANGLE() function that returns the crosshair angle in the ViewPortTableRecord class but I dont see that method in that class when I checked using SharpDevelop class browser.
I'm using AutoCAD 2008
I have included the following:
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoCAD.Interop;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.Windows;
using Autodesk.AutoCAD.Colors;
Is there any thing else I need to include? or Is that method not available anymore.
Has anyone successfully accessed the crosshair angle previously?
Thanks,
Rav Edited by: sriva041 on Jun 2, 2010 10:22 PM