Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Help on skSetInitialGuess?
dave_cowden
Member, Developers Posts: 475 ✭✭✭
I need a little guidance on how this works. I'm getting into scripting sketches, and I really can't find any examples or documentation about how to use this function.
For simple sketches I have found that omitting it works ok. But as soon as I've started using skText, and skLineSegment,
I find that my text doesn't behave unless I use skSetInitialGuess. But then the text appears to go all over the place.
I can see from creating a PartStudio that setting the initialGuess for an skText has 5 parameters, and an skLineSegment appears to have 6 parameters.
What are the values in the array?
For simple sketches I have found that omitting it works ok. But as soon as I've started using skText, and skLineSegment,
I find that my text doesn't behave unless I use skSetInitialGuess. But then the text appears to go all over the place.
I can see from creating a PartStudio that setting the initialGuess for an skText has 5 parameters, and an skLineSegment appears to have 6 parameters.
What are the values in the array?
0
Answers