Hi ,
I'm created a macro that modify items dimension in 2D page(drafting) but What I couldn't achieve is to modify all headliner for the related items see image below
My code modify only 1 point :
Anyone can light me on this ?
Please feel free to ask for clarification "My first post here "
B.R
S
I'm created a macro that modify items dimension in 2D page(drafting) but What I couldn't achieve is to modify all headliner for the related items see image below
My code modify only 1 point :
Code:
Dim myview As DrawingView
Set myview = CATIA.ActiveDocument.Sheets.ActiveSheet.Views.ActiveView
Dim mytext As DrawingText
Set mytext = myview.Texts.Item(1)
Dim myleader As DrawingLeader
Set myleader = mytext.Leaders.Item(1)
myleader.HeadSymbol = 0 ' this line is to modify the point as mentioned in the image
'the problem that this code is modifying only point and I want to modify multiple points
Anyone can light me on this ?
Please feel free to ask for clarification "My first post here "
B.R
S