Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Draftsight - Cycling through layouts via VBA

Status
Not open for further replies.

Runawayted

Civil/Environmental
Apr 25, 2016
1
Hi, I am currently sitting in a situation where I am editing tile blocks of 82 pages for a project. The sheets are uniquely named and I was using "GetSheet", but it required the unique name as a string.

If 1 Then
Set dsSheet = dsDoc.GetSheet("72 BOX GIRDER SPAN 33 EXTERNAL VIEW")
If Not dsSheet Is Nothing Then
dsSheet.Activate
Set dsSketchManager = dsSheet.GetSketchManager()
End If

I am not sure if there is a away to pull the unique sheet name and use it to cycle through sheets so that it can automatically edit the title blocks on each sheet. I am a novice to Draftsight, only been using if from this year. I know a little bit about VBA so any advice on how I could do this or even if i am totally wrong, any alternative methods that could help would be greatly appreciated.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor