-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hey Daniel
Can you help me, explain how to SetNonPrismatic with the Etab API. I have tried with this code. but just keep getting errors. please help me with this it mean a lot
Sapmodel.PropFrame.SetNonPrismatic("NP1",1,"SEC1","SEC2",1,1,2,1)
Errors:
Traceback (most recent call last):
File "C:\Users\Tam Phan\Desktop\NGHIEN CUU\api\python.py", line 30, in
Sapmodel.PropFrame.SetNonPrismatic("NP1",1,"SEC1","SEC2",1,1,2,1)
File "C:\Users\Tam Phan\AppData\Local\Programs\Python\Python39\lib\site-packages\comtypes_init_.py", line 638, in call_with_inout
v = atyp.from_param(v)
File "C:\Users\Tam Phan\AppData\Local\Programs\Python\Python39\lib\site-packages\comtypes\safearray.py", line 206, in from_param
value = cls.create(value, extra)
File "C:\Users\Tam Phan\AppData\Local\Programs\Python\Python39\lib\site-packages\comtypes\safearray.py", line 127, in create
len(value),
TypeError: object of type 'int' has no len()
Process finished with exit code 1