Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
A.Acheson
in reply to: ppolcynBNVFN

Hi @ppolcynBNVFN 

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.AddViewOrModel 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