Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

Combining Parts Created by Boolean Operation in FeatureScript

Srujan_PandyaSrujan_Pandya Member Posts: 2
I have written a featurescript to sketch an extrude a bounding box and then I had performed a subtraction boolean operation between the main model and the bounding box. Now, I want to access those bodies that would be created by this boolean operation, and then combine (unite) those parts created from this boolean operation (apart from the bounding box). I was thinking of accessing those parts using qCreatedby(id + "boolean1") couldn't get anything to work.

Answers

  • Caden_ArmstrongCaden_Armstrong Member Posts: 181 PRO
    Posting your error messages would help, as without the rest of the code its hard to tell what other mistakes you've made.

    Does des_height have units?

    OperationType is not a valid input for opExtrude

    Does the extrude work? is it just the boolean that doesn't work?
    Does your sketch1 exist?
    www.smartbenchsoftware.com --- fs.place --- Renaissance
    Custom FeatureScript and Onshape Integrated Applications
Sign In or Register to comment.