is it possible to change the name of the drawing sheet for the name of the part that is inserted into the drawing?
Solved! Go to Solution.
Solved by WCrihfield. Go to Solution.
Hi @Miguel.CarvajalS34Q6. Yes. Here is a fairly simple iLogic rule which will do that for the active sheet of a drawing, as long as that sheet's first view is referencing a model document.
oDDoc = ThisDrawing.Document
oSheet = oDDoc.ActiveSheet
If oSheet.DrawingViews.Count = 0 Then Exit Sub
Dim oView As DrawingView = oSheet.DrawingViews.Item(1)
oModelDispName = oView.ReferencedDocumentDescriptor.DisplayName
oSheet.Name = oModelDispName
If this solved your problem, or answered your question, please click ACCEPT SOLUTION .
Or, if this helped you, please click (LIKE or KUDOS) 👍.
Wesley Crihfield
(Not an Autodesk Employee)
Can't find what you're looking for? Ask the community or share your knowledge.