autocad« .net developing a user interface

Upload: filesxy200

Post on 05-Apr-2018

244 views

Category:

Documents


2 download

TRANSCRIPT

  • 7/31/2019 AutoCAD .NET Developing a User Interface

    1/12

    AutoCAD .NET Developing a UserInterface

    Gopinath TagetDeveloper Consultant, Autodesk Developer Network

  • 7/31/2019 AutoCAD .NET Developing a User Interface

    2/12

    About the Presenter

    Gopinath TagetDeveloper Technical ServicesAmericasAutodesk, Inc

    Gopinath Taget is a member of the Autodesk Developer Technical Services Team. He has morethan 5 years of experience developing and supporting AutoCAD APIs, including ObjectARX,.NET, VBA and LISP.

    Gopinath also has several years of experience in software development on other CAD platforms,including Microstation, Solidworks, and CATIA -- mainly using C++ and technologies such asMFC and COM. Gopinath was also involved in the development of Web-based applications forMapGuide and AutoCAD Map. Gopinath has Master degrees in Civil Engineering and SoftwareSystems.

  • 7/31/2019 AutoCAD .NET Developing a User Interface

    3/12

    Agenda

    .NET Forms and its Usage in AutoCAD

    AutoCAD .NET UI Classes and Controls

    Palettes

    Accessing .NET UI controls from other

    applications

  • 7/31/2019 AutoCAD .NET Developing a User Interface

    4/12

    .NET Forms

    API for Rapid UI Development

    Highly Object Oriented and Interoperable

    Based on Win32

    Seamless integration between desktop and web

  • 7/31/2019 AutoCAD .NET Developing a User Interface

    5/12

    AutoCAD .NET for UI - Advantages

    Ease of use

    Automatic position, size persistence

    Automatic icon support

    Seamless integration with command prompt

  • 7/31/2019 AutoCAD .NET Developing a User Interface

    6/12

    .NET Forms and its Usage in AutoCAD

    ShowModalDialog ShowModelessDialog

    EditorUserInteraction and StartUserInteraction

    Updating the drawing

    Updating the commandline Locking the document

    Drag and Drop

  • 7/31/2019 AutoCAD .NET Developing a User Interface

    7/12

    AutoCAD .NET UI Classes and Controls

    ColorDialog LinetypeDialog

    LineWeightDialog

    OpenFileDialog

    SaveFileDialog PlotStyleDialog

  • 7/31/2019 AutoCAD .NET Developing a User Interface

    8/12

    Palettes

    .NET UserControl Modeless behaviour

    Custom information storage

    ObjectARX\samples\dotNet\DockingPalette

  • 7/31/2019 AutoCAD .NET Developing a User Interface

    9/12

    Extend AutoCAD dialogs

    Options Dialog Draft Settings Dialog

    Customization Dialog

    ObjectARX\samples\dotNet\TabExtension

  • 7/31/2019 AutoCAD .NET Developing a User Interface

    10/12

    Important Help Resources

    ObjectARX for AutoCAD 2010: Managed Class ReferenceGuide (arxmgd.chm)

    http://www.adskconsulting.com/adn/cs/api_course_sched.php

    DevTV and training resources at

    http://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112

    AutoCAD: Creating a UI using WPF (fromhttp://www.adskconsulting.com/adn/cs/api_course_sched.php)

    http://www.adskconsulting.com/adn/cs/api_course_sched.phphttp://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112http://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112http://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112http://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112http://www.adskconsulting.com/adn/cs/api_course_sched.php
  • 7/31/2019 AutoCAD .NET Developing a User Interface

    11/12

    ObjectARX and AutoCAD.NET Resources

    AutoCAD Developer Center - download training labs http://www.autodesk.com/developautocad

    AutoCAD .NET Training (classroom)

    http://www.autodesk.com/apitraining

    Through the Interface blog - Site focuses on .NET

    http://blogs.autodesk.com/through-the-interface

    Whitepapers and Training Videos ADN members

    http://adn.autodesk.com/adn/servlet/index?siteID=4814862&id=5475217&linkID=4900509

    http://www.autodesk.com/developautocadhttp://www.autodesk.com/apitraininghttp://blogs.autodesk.com/through-the-interfacehttp://adn.autodesk.com/adn/servlet/index?siteID=4814862&id=5475217&linkID=4900509http://adn.autodesk.com/adn/servlet/index?siteID=4814862&id=5475217&linkID=4900509http://adn.autodesk.com/adn/servlet/index?siteID=4814862&id=5475217&linkID=4900509http://adn.autodesk.com/adn/servlet/index?siteID=4814862&id=5475217&linkID=4900509http://blogs.autodesk.com/through-the-interfacehttp://blogs.autodesk.com/through-the-interfacehttp://blogs.autodesk.com/through-the-interfacehttp://blogs.autodesk.com/through-the-interfacehttp://blogs.autodesk.com/through-the-interfacehttp://www.autodesk.com/apitraininghttp://www.autodesk.com/developautocad
  • 7/31/2019 AutoCAD .NET Developing a User Interface

    12/12

    Thank YouEmail: [email protected]