You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: