Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
HBMurtz
373 Views, 2 Replies

View Rep Label in Drawing View Label

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

Anonymous
in reply to: HBMurtz

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

 Dim sViewRepName As String = oFaceView.ActiveDesignViewRepresentation.ToString
                oFaceView.Name = "Face View / " & sViewRepName
HBMurtz
in reply to: HBMurtz

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,