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.
How can I use @opWrap to place a label on a cylinder?
I've created a Scale feature that can put a scale (think of one axis of a graph with ticks and numbers) on a plane. I'd like to extend that capability to cylinders so that I can label pipes and round tanks. I've tried to use opWrap and have been unable to figure out what inputs are required. I get the error
@opWrap: Map does not contain field 'anchorPoint'.
I tried adding anchorPoint as a field, but I still get the same error.
The code with opWrap is on line 143
I'd also appreciate any hints on how to debug this type of problem.