Detail Style Maps - Grating & Material
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am doing some more testing of my AdS 2023 version. Below is the code that I wrote to filter in the Detail Style Map the selection for object type Grating and the material type Grating_MS, however it doesn’t seem to be working. Seeking assistance with my
my error/s?
_________________________________________
'Check Grating StandardPart and Material Grating MS
Function checkElement(Obj)
checkElement = False
If Obj.Type = kPlateClass OR Obj.Type = kGratingClass Then
If Obj.WasDetectedAsSPFromStandardPart Then
If InStr(Obj.Material, "Grating_MS") > 0 Then
checkElement = True
End If
End If
End If
End Function
____________________________________________________________