10-13-2023
07:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-13-2023
07:22 AM
When you add a partlist and intend it to be for an assembly you need to set the PartlistlevelEnum which is parts only or structured all level etc. See partlist.add method API help here.
If you look at the more info tab of the error message this might be explained. Tab 1 is no good for diagnostics and should be ignored.
In the API help page navigate to PartsListLevelEnum here and select the correct one.
Syntax
PartsLists.Add( ViewOrModel As Object, PlacementPoint As Point2d, [Level] As PartsListLevelEnum, [NumberingScheme] As Variant, [NumberOfSections] As Long, [WrapLeft] As Boolean ) As PartsList
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan
Or if this helped you, please, click (like)
Regards
Alan