- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have a drawing view of an assembly file, and I am trying to determine the specific part occurrence within the assembly that each centerline and centermark is attached to. For centermarks, I can find the occurrence name by using: oSheet.Centermarks.Item(i).AttachedEntity.Geometry.ModelGeometry.ContainingOccurrence.Name
I cannot find a similar path for centerlines. Does this exist somewhere?
My goal is to generate automated centermarks and centerlines for the drawing view, then also use VBA to delete the ones that pertain to off-the-shelf parts that get attached to the main part that I am designing.
If this can't be done, is there any way when using the VBA command to create automated centermarks and centerlines to limit these to only apply to certain parts within the assembly drawing view?
Thanks.
Solved! Go to Solution.