Drawing iLogic - Place Views Using For Loop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have the following code as an example, is there correct syntax for me to say:
For i = 1 to 4
oView & i = oSheet.DrawingViews.Item(i)
Next
Dim oView1, oView2, oView3, oView4 As DrawingView oView1 = oSheet.DrawingViews.Item(1) oView2 = oSheet.DrawingViews.Item(2) oView3 = oSheet.DrawingViews.Item(3) oView4 = oSheet.DrawingViews.Item(4)
I cannot seem to find a way to get iLogic to reference oView1 in this way. Code later creates workpoints and centerpoints and ideally I want to do the same thing.
Thanks!
Link copied