Message 1 of 4
iLOGIC Code to Recognize Sheet Number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have ilogic in a drawing that selects the model state of a drawing view, and the code that i use is dependent on the sheet number to specify the view. Is there code that returns the value of the sheet based on the name of the sheet? Or is there a way to reference a drawing view that is not dependent on the sheet number? The line im using for view selection:
ThisDrawing.Sheets.ItemByName("SHEET NAME:1").View("VIEW NAME").View.SetActiveModelState(...