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.
I want to create a new removed stretch via API
I refer to this website https://onshape-public.github.io/docs/api-adv/featureaccess/#create -The A-cylinder
learned how to create a new stretch,
but I don't know how to create a removed stretch.
I replaced NEW with REMEVE, but I found that the newly created stretch reported an error and lacked the merge scope.
I think the problem is that it is missing{
"btType":"BTMParameterQueryList-148",
"queries":[
{
"btType":"BTMIndividualQuery-138",
"queryStatement":null,
"queryString":"query=qCompressed(1.0,"%B5$QueryM5S12$disambiguationDataA1M2S12$disambiguationTypeS13$ORIGINAL_DEPENDENCYS9$originalsA1C0M5Sa$entityTypeBa$EntityTypeS4$EDGESb$historyTypeS8$CREATIONSb$operationIdB2$IdA1S11.6$FZ9ia7Mkb5Be9Q9_0wireOpS9$queryTypeSd$SKETCH_ENTITYSe$sketchEntityIdSc$2hut8W3FjO66R4C6S4$BODYR6R7R8CbA1S11.9$Fefl73yQENvw9yN_0opExtrudeRbSa$SWEPT_BODY",id); ",
"nodeId":"FVrKGMklAJmaOGn"
}
],
"nodeId":"M50ZZfFHROidxZs8P",
"parameterId":"booleanScope"
}
But I don't know how to write my own, this is from https://onshape-public.github.io/docs/api-adv/featureaccess/#get -The results obtained from the list of features in a-part studio
Can someone help me?