Annotation Angle

Annotation Angle

Anonymous
Not applicable
968 Views
4 Replies
Message 1 of 5

Annotation Angle

Anonymous
Not applicable

Hi,

 

How do I create a angular dimension via api similar to Annotate->Angular.

 

Thanks & Regards

Sanjay Pandey

0 Likes
969 Views
4 Replies
Replies (4)
Message 2 of 5

Charles.Piro
Advisor
Advisor

Hi,

 

you can use this :

 

doucment.FamilyCreate.NewAngularDimension(View view,Arc arc,Reference firstRef,Reference SecondRef);

You have an example in SDK Sample -> Project "CreateTruss".

 

Smiley Wink



PIRO Charles
Developer

PIRO CIE
Linkedin


0 Likes
Message 3 of 5

Anonymous
Not applicable

Sorry If I was not clear in my query. But I am not creating the angular annotation in family document.

 

What I want is the angle between two objects say for example pipe and a sprinkler. The manual process of which in revit is:

 

Select Angular from Annotate tab

select the first element 

select second

 

and revit shows the angle between them.

 

Thanks & Regards

Sanjay Pandey

0 Likes
Message 4 of 5

Anonymous
Not applicable

I didn't knew getting angle between two revit elements would be such a mammoth task.

 

Thanks & Regards

Sanjay Pandey

 

Message 5 of 5

boostyourbim
Advocate
Advocate
Hi Autodesk,

It looks like in the project environment there is no ability to create an angular dimension via the API. Could you file a request for the development team?

Thanks
Harry
0 Likes