Is it possible to create redline or measurement using API?

Is it possible to create redline or measurement using API?

Anonymous
Not applicable
2,034 Views
6 Replies
Message 1 of 7

Is it possible to create redline or measurement using API?

Anonymous
Not applicable

Hi,

 

I am trying to create a function to create redline or measurement lines in the model or Saved ViewPoints using API. Is that possible? For example, I want to show the distance in redline/meansurement between the center points of two objects.

 

Thanks a lot!!

 

Anna

0 Likes
2,035 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable

Could anybody please help?

 

Thanks!!

 

Anna

0 Likes
Message 3 of 7

xiaodong_liang
Autodesk Support
Autodesk Support

Hi pollyanna23,

 

API has not yet exposed the abilities of redline or measurement. Sorry if this is bad news to you.

 

The new plugin ToolPlugin can implement custom behaviors of tool, you could draw your own redline. But it does not provide Text graphics, and no ability to get snap point.

 

 

0 Likes
Message 4 of 7

Yogesh_Shinde
Contributor
Contributor

Is still API is not available for Readline ?

0 Likes
Message 5 of 7

xiaodong_liang
Autodesk Support
Autodesk Support
Hi,

This is still a wish that has not been exposed. Sorry if this is a bad news to you.

The wish ID is #9300: .NET API: Redline/Mark-up access and manipulation
0 Likes
Message 6 of 7

Anonymous
Not applicable

I found Redline could be added to savedviewpoint, but Redline could not be shown in ViewControl. It only could be seen in Navisworks.

0 Likes
Message 7 of 7

2lenin-off
Enthusiast
Enthusiast

I have completed this plugin. I posted a link if anyone is interested.

https://github.com/xPRYANIKx/LcOpRedlineTextPlugin