10-26-2018
02:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-26-2018
02:00 AM
I actually found a workaround myself, by luck ![]()
If you use this code
For i = 1 To oRPF.ParentFeatures.Count
The Count returns 0 if you have a feature of a Solid Body.
So putting this code in front of the line where I got the error means I will never get to the line.
You could also use this code:
If oRPF.ParentFeatures.Count <> 0 Then
I will not put this as a solution because I would like to know the correct code for checking if a pattern is a pattern of a solid body.