Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

My first attempt at C#

1 REPLY 1
Reply
Message 1 of 2
MIKEFETTKETHER4651
461 Views, 1 Reply

My first attempt at C#

MIKEFETTKETHER4651
Advocate
Advocate

My first attempt at C# for Revit:  I would like to recreate the MTP command (Locates the midpoint between two points) from AutoCAD into Revit.  The command functions by entering MTP and then the user selects a first point then a second point.  Then the start point of a line is created midway between the two selected points.  So my question begins with, is this even possible? The next question is would this also be possible within the sketch mode?

0 Likes

My first attempt at C#

My first attempt at C# for Revit:  I would like to recreate the MTP command (Locates the midpoint between two points) from AutoCAD into Revit.  The command functions by entering MTP and then the user selects a first point then a second point.  Then the start point of a line is created midway between the two selected points.  So my question begins with, is this even possible? The next question is would this also be possible within the sketch mode?

1 REPLY 1
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Dear Mike,

 

Please try as hard as you can to completely forget all you know about CAD programming and AutoCAD.

 

Get acquainted with the Revit product from a user point of view before thinking about anything else.

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.41

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

Dear Mike,

 

Please try as hard as you can to completely forget all you know about CAD programming and AutoCAD.

 

Get acquainted with the Revit product from a user point of view before thinking about anything else.

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.41

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report