Creating Extensions for the Autodesk Viewer
Extensions are JavaScript objects with load(),unload() methods that are called when viewer loads/unloads them.
AutoCAD Tutorials ProgrammingMORE >>
Creating Extensions for the Autodesk Viewer
Extensions are JavaScript objects with load(),unload() methods that are called when viewer loads/unloads them.
AutoCAD Tutorials ProgrammingAdding Geopositionmarker to Different Location Through API –
Employ GeoLocationData to add new position marker to different place in AutoCAD drawing.
AutoCAD Tutorials ProgrammingSetting Color to Each Face of Solid
Code to traverse to each face before painting with different colors in AutoCAD.
AutoCAD Tutorials ProgrammingSorting Lists of AutoCAD Objects Using LINQ, Pt 3
Define both class, method as static as there is no need to store any per-instance data with instances of generic class.
AutoCAD Tutorials ProgrammingSorting Lists of AutoCAD Objects Using LINQ, Pt 2
Steps to refactor commonality to obtain single extension method that allows sorting list of ObjectIds based on any string property.
AutoCAD Tutorials ProgrammingSorting Lists of AutoCAD Objects Using LINQ, Pt 1
Declare ObjectId types as dynamic, add entries to directory, call LINQ’s OrderBy() extension method by passing in selector lambda.
AutoCAD Tutorials ProgrammingCUIX Extended Help Tooltips Using XAML Resource DLL
Create XAML file by defining tooltips for ribbon button in single file, establish association or mapping between ribbon tool tip, ribbon command button in AutoCAD.
AutoCAD Tutorials ProgrammingDisabling AutoCAD Tooltips Using .NET
Code to define DisableToolTips(), EnableToolTips() commands to disable, enable tooltips, respectively, in AutoCAD.
AutoCAD Tutorials ProgrammingDisabling AutoCAD’s Toolbars Using .NET
Apply DisableToolbarCommand(),EnableToolbarCommand() for disabling, enabling toolbars respectively in AutoCAD.
AutoCAD Tutorials ProgrammingDisabling the AutoCAD Ribbon Using .NET
Invoke DisableRibbonCommand(), EnableRibbonCommand() to disable, enable ribbon respectively in AutoCAD.
AutoCAD Tutorials ProgrammingFollow