Title block

Title block

corey_danielson
Advocate Advocate
111 Views
0 Replies
Message 1 of 1

Title block

corey_danielson
Advocate
Advocate

Title block does not locate correctly in my A and B size, but looks ok in my C and D size. i use a rule to choose sizes, only need A - D. Border works as it should for all.  here is the code if it is something in here. Please help. Longtime solidworks user, buying Inventor in a couple weeks.

 

oDoc = ThisDoc.Document

oTB = oDoc.ActiveSheet.Titleblock

oBorder = oDoc.ActiveSheet.Border

CurrentSize = ActiveSheet.Size

SizeArray = New String() {"A", "B", "C", "D"}

ChosenSize = InputListBox("Select Size", SizeArray, CurrentSize, Title := "Sheet Size", ListName := "Sizes")

If ChosenSize = "" Then Exit Sub

ActiveSheet.ChangeSize(ChosenSize, True)
0 Likes
112 Views
0 Replies
Replies (0)