Hi, I managed to create a SelectionBox with a "SURFACEBODY" filter. My goal is to show a preview (e.g. duplicates) based upon my selected body, like the linear pattern feature:
Unfortunately:
- I can't retrieve the object via the SelectionManager. Apparently GetSelectedObject6(item, -1) retrieves something that isn't a Feature.
- I have no idea on how to create the "preview" items.
Please, could someone point me in the right direction?
SolidworksApi macros