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.
FeatureScript editing logic function
graham_lock
Member Posts: 276 PRO
Hi,
I've found the documentation for the Editing Logic function but I can't see how to actually link it to the feature?
Any example appreciated.
I've found the documentation for the Editing Logic function but I can't see how to actually link it to the feature?
Any example appreciated.
0
Best Answer
-
RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________0
Answers
-
RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________0 -
Thank you but I get an error message of document doesn't exist or I don't have permissions?0
-
There you go, it's set to public now.Also here is more explaining how edit logic works: edit logic forum post
RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________0 -
I've listed this from frame.fs (forgive the formatting, I dont write the forum software we use):/*** Create frames from a profile and set of path selections.*/annotation {"Feature Type Name" : "Frame","Manipulator Change Function" : "frameManipulators","Filter Selector" : "allparts","Editing Logic Function" : "frameEditLogicFunction"}export const frame = defineFeature(function(context is Context, id is Id, definition is map)
The annotation that precedes the function code specifies a bunch of useful bits. This is how we tell the function what manipulator function to use and what editing logic function to use.0 -
Fantastic thank you.
The link to edit logic forum post points to the sample document?0 -
RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________0 -
Thank you!0


