Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawing function create_gen_view() requires "scale" parameter #55

Closed
gazontimide opened this issue Nov 27, 2020 · 2 comments
Closed

Drawing function create_gen_view() requires "scale" parameter #55

gazontimide opened this issue Nov 27, 2020 · 2 comments

Comments

@gazontimide
Copy link

Hi, I am using the python library to control CreoSon.

When using the function create_gen_view(), the documentation states that the "scale" parameter is not required but it will return an error if used without it. If I use the parameter, the function works as intended and the view uses its own scale. I looked at the python's method and it looks fine with the parameter set to scale=None by default.

code :
view_display_data = {'style': 'no_hidden', 'tangent_style': 'none'}
creopyson.drawing.create_gen_view(clientobj, view='FLAT_VIEW', model_view='TOP', point={'x': 140, 'y': 108}, display_data=view_display_data)

error :
raise RuntimeError(error_msg)
RuntimeError: No 'scale' parameter given

Thanks,

Sam

@adama2000
Copy link
Contributor

adama2000 commented Nov 27, 2020 via email

@adama2000
Copy link
Contributor

Checked in a fix, it'll be in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants