BricsCAD Plugins in an other CAD Systeme
Comments
-
You mean you wrote them but do not know how to make work on the other acad clones?
I do progs in c# that run on both acad and bcad with same codeset, and it typically just switching out the references in the VS project, as well as using alias for objects like this:
//AutoCad Usingsif ACAD
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.ApplicationServices;
using AcAp = Autodesk.AutoCAD.ApplicationServices.Application;
using AcDoc = Autodesk.AutoCAD.ApplicationServices.Document;
using Autodesk.AutoCAD.EditorInput;
using AcEd = Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.DatabaseServices;
using AcDb = Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;
using AcGe = Autodesk.AutoCAD.Geometry;
using AcCo = Autodesk.AutoCAD.Colors;
using Autodesk.AutoCAD.Windows;
using Autodesk.AutoCAD.GraphicsInterface;
using AcIn = Autodesk.AutoCAD.Internal;endif
if BCAD
using Teigha.DatabaseServices;
using AcDb = Teigha.DatabaseServices;
using Bricscad.EditorInput;
using AcEd = Bricscad.EditorInput;
using Teigha.Geometry;
using AcGe = Teigha.Geometry;
using AcCo = Teigha.Colors;
using Teigha.Runtime;
using Teigha.GraphicsInterface;
using Bricscad.Runtime;
using Bricscad.ApplicationServices;
using AcAp = Bricscad.ApplicationServices.Application;
using AcDoc = Bricscad.ApplicationServices.Document;
using Bricscad.Windows;endif
This is basic for people using VS and .net, not sure if same for C++ but hit the autodesk dg's to catch experts there.
0 -
wow, ignore the huge text there, it was supposed to be like:
#if ACAD
0