Mapping a Material Texture on a SubDMesh
Apply setVertexTextureArray to control mapping in AutoCAD.
AutoCAD Tutorials ProgrammingMORE >>
Mapping a Material Texture on a SubDMesh
Apply setVertexTextureArray to control mapping in AutoCAD.
AutoCAD Tutorials ProgrammingMLeader Text that Reflects MLeaderStyle Settings
Copy MLeaderStyle.DefaultText, apply it as MLeader’s text to make it follow changes made to MLeaderStyle.
AutoCAD Tutorials ProgrammingAU 2015 Handout: Virtual Reality Viewing of 3D Models Using Autodesk’s View and Data API
Employ small fraction of distance for camera offset, clone camera, return its X translated position to transfer camera position from one viewer to other.
AutoCAD Tutorials ProgrammingPublish Layouts to PDF Using COM
Code to create simple DSD, apply this file to execute PUBLISH command in AutoCAD.
AutoCAD Tutorials ProgrammingProgrammatically Creating SaveAs Dialog
Code to create save dialog, display file dialog when user commands in AutoCAD.
AutoCAD Tutorials ProgrammingDrawing a Box with Meshes Programmatically
Apply surface density values in place of M, N for vertex row x column sizes in surface fit mesh, apply Mclosed function to close PolygonMesh in M direction.
AutoCAD Tutorials ProgrammingCreating AutoCAD Xrefs as Overlays with Relative Paths Using .NET
Apply helper to ensure that object is writable, generate relative path from one string to another before changing path of Xref’s block definition to have relative path.
AutoCAD Tutorials ProgrammingConverting Units between Different AutoCAD Drawings Using .NET
Add Xref to database’s block table, open newly created block to obtain units, create block reference, scale it accordingly, add it to current page, transaction.
AutoCAD Tutorials ProgrammingCreating an AutoCAD Layout with Custom Plot and Viewport Settings Using .NET
Reverse order of X, Y properties of Point2d, strip Point3d down to Point2d by simply ignoring Z ordinate before creating layout with specified name.
AutoCAD Tutorials ProgrammingAttaching AutoCAD Xrefs and Inserting Them at the Origin Using .NET
Apply XAO command to attach specific Xref to current space of current drawing before specifying file to be attached.
AutoCAD Tutorials ProgrammingFollow