Microsoft Visual Studio C#.NET inside/under, Revit Graphics Drawings Library to use of, is it possible?

Microsoft Visual Studio C#.NET inside/under, Revit Graphics Drawings Library to use of, is it possible?

mehmettugcular
Participant Participant
518 Views
2 Replies
Message 1 of 3

Microsoft Visual Studio C#.NET inside/under, Revit Graphics Drawings Library to use of, is it possible?

mehmettugcular
Participant
Participant
In Visual Studio C#.Net, There are methods used to make a revit api.
Can it be used for drawing in C#.net?
Below are the methods used in making revit APIs. These methods are written by revit and given to work in C#.net.
The methods are used to draw lines, circular arcs, and circle-ellipse-elliptical arcs.
 
How can I use these methods to draw these shapes in C#.net?
My intention is not to write-make api!
I just want to use these methods-codes in C# and make drawings.
Is it possible?
As it uses the same graphics library, can this be?
 
autodesk, revit methods;

1.  public static Line CreateBound( XYZ endpoint1, XYZ endpoint2

2.  public static Arc Create( Plane plane, double radius, double startAngle, double endAngle

3.  public static Curve CreateCurve( XYZ center, double xRadius, double yRadius, XYZ xAxis, XYZ yAxis, double startParameter, double endParameter )

 

0 Likes
519 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

No, sorry.

 

If you want to implement your own graphics drawing library, I would suggest that you look elsewhere.

 

GitHub is often a good place to start:

 

https://github.com/search?q=.net+drawing+library

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

mehmettugcular
Participant
Participant

There are lots of 3D graphics drawing libraries.
my data comes from *.dxf file.
I need to draw with data in *.dxf file.
Which 3D drawing library is recommended for use with *.dxf file?
Is there a 3D library that uses the same methods as above?

 

Note:
The above three methods are very suitable for dxf files.
I can say they were written for dxf file.

0 Likes