12-15-2022
03:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-15-2022
03:17 PM
Model states are a bit different.
In the idw I created a test rule and entered the below line, which switched the model state on the drawing. However, I cant figure out how I can use this line to assign the model state to the idw view from the iam or ipt. If you look at the ipt, I am already iterating through each model in the generate rule.
ActiveSheet.View("FRONT").View.SetActiveModelState("U420521A")
Alternatively, I can't work out how to iterate through each model state from the IDW. The only reason I need to iterate through the model state is so I can capture the width and length parameters from the ipt to scale the drawing properly.