View Rep Label in Drawing View Label

View Rep Label in Drawing View Label

HBMurtz
Participant Participant
385 Views
2 Replies
Message 1 of 3

View Rep Label in Drawing View Label

HBMurtz
Participant
Participant

I would like to include the View Rep Name automatically in the Drawing View Label. Is this possible?

0 Likes
386 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
oFaceView = oSheet.DrawingViews.AddBaseView(CType(oAssyDoc, _Document), oPlacementPt1, FaceViewScale, vieworient1, viewstyle1)

 Dim sViewRepName As String = oFaceView.ActiveDesignViewRepresentation.ToString
                oFaceView.Name = "Face View / " & sViewRepName
0 Likes
Message 3 of 3

HBMurtz
Participant
Participant

Hello and thanks for the reply which looks like some ilogic code. I don't have any experience with ilogic and so will need to do tutorials in order to use your solution. I initially just created a new rule and pasted the code into it but it resulted in errors. I will spend some more time on this when things get less hectic.

 

Cheers,

0 Likes