Cancel
Showing results for 
Search instead for 
Did you mean: 

Differentiate detail arc from normal arc in drawing

Pioneer
Pioneer

Hello Everyone,

I am struggling to differentiate detail arc(present on parent view-dotted) from normal arc in drawing.I cut one detail from view & i have one normal arc in drawing, when i check information window of both objects i didnt find any difference.Even askviewdependent status of both objects is showing as sheet1. Ideally for detail arc(parent) it should give (Top1,Front etc- from which it is cutted).

TAK 

3 REPLIES

Re: Differentiate detail arc from normal arc in drawing

Valued Contributor
Valued Contributor

Try this,

 

For Each MyArc As Arc In workPart.Arcs

Dim a As Double = ss.Radius
ss.SetRadius(3.1456789)
If ss.Radius = a Then
Else

'here it collects detailed view arcs.
ss.Highlight()
End If
ss.SetRadius(a)


Next

 

Logic is-

Detailed view radius won't change but normal arc radius will change.

 

Hope it helps,

 

Regards,

Abhi

 

 

Re: Differentiate detail arc from normal arc in drawing

Pioneer
Pioneer

I have implemented the same logic(of Const radius). THere is one more way(Smart Object)

 

Arc *arc1(dynamic_cast<Arc *>(NXObjectManager::Get(view_obj_tag)));
if(arc1->Update()==SmartObject::UpdateOption::UpdateOptionAfterModeling)
{
found=true;
}

I was looking for some direct function. Anyways Thanks!

Re: Differentiate detail arc from normal arc in drawing

Valued Contributor
Valued Contributor

Hello @s_varandani,

I got that option too.

But do you know the significant of  'update option'?

Is there any guarantee that it will same for all that type of arcs?

 

please let me know if you got the back ground of it as I am also not aware.

 

and request you to accept the query as solution for other users.

 

thanks,

Abhi