- Posts: 9
python error
- stef
- Topic Author
Less
More
10 Mar 2018 15:08 #6116
by stef
python error was created by stef
Hi ,
I generate code pyton with SAM, but doesn''t work when I execude a code.
syntax error (ssc.data_set_matrix( data, b'subarray1_shading:mxh', subarray1_shading:mxh );
any idea ?
regards
stef
I generate code pyton with SAM, but doesn''t work when I execude a code.
syntax error (ssc.data_set_matrix( data, b'subarray1_shading:mxh', subarray1_shading:mxh );
any idea ?
regards
stef
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
13 Mar 2018 15:27 #6117
by pgilman
Replied by pgilman on topic python error
Dear Stef,
Could you attach the .sam file you used to generate the Python code to your original post above (edit the post to attach another file). It looks like there might be too many spaces in the subarray_shading:mxh arrays.
Best regards,
Paul.
Could you attach the .sam file you used to generate the Python code to your original post above (edit the post to attach another file). It looks like there might be too many spaces in the subarray_shading:mxh arrays.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
- stef
- Topic Author
Less
More
- Posts: 9
18 Mar 2018 06:56 #6118
by stef
Replied by stef on topic python error
Hi Paul,
Thank you for your answer. The file's uploade on the last post.
regards
SR
Thank you for your answer. The file's uploade on the last post.
regards
SR
Please Log in or Create an account to join the conversation.
- stef
- Topic Author
Less
More
- Posts: 9
18 Mar 2018 06:59 #6119
by stef
Replied by stef on topic python error
Note that the errors are due to a parametric simulation
Please Log in or Create an account to join the conversation.
- alsagria1
Less
More
- Posts: 7
18 Mar 2018 07:24 #6120
by alsagria1
Replied by alsagria1 on topic python error
May I know how to convert your SAM model to Python?
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
19 Mar 2018 09:10 #6121
by pgilman
Replied by pgilman on topic python error
Please Log in or Create an account to join the conversation.
Moderators: pgilman