Zepmanbc / creopyson

Python library for Creoson (http://www.creoson.com)
MIT License
60 stars 5 forks source link

Adding location to a note in a drawing #62

Closed dummifiedme closed 1 year ago

dummifiedme commented 1 year ago

Description

Trying to add a note at a particular location.

But I am unable to add "location" to the note using creoson.note_set(). How to add the location? It is explicitly mentioned in the documentation, that we can add location but the argument is not mentioned!

Creopyson Documentation It doesn't mention any location argument, bur creoson has it!! image

Creoson Documentation image

What I Did

I tried to add location with "point", "location" and "position" arguments. Nothing worked.

loc = creopyson.objects.jlpoint(190,0,200)
notee = c.note_set(name = "somethingg", point = loc, value = "Something")

What should I be doing?

Zepmanbc commented 1 year ago

Sorry, never tried this, you should ask on Creoson's page and if it's a creopyson problem i'll check it

dummifiedme commented 1 year ago

Sorry, never tried this, you should ask on Creoson's page and if it's a creopyson problem i'll check it

Yes, that was what I was suggesting that creopyson doesn't have one argument for location for this function while creoson has it. If you see the second table, that is from the creoson documentation.

Also, I tried sending creoson commands using the creopyson vanilla command, and it did work fine with the added location argument.

Zepmanbc commented 1 year ago

thanks, read your issue too fast correction is in 0.7.5 release