-
unexpected selection behavior when filleting the results of a self-repeating custom feature
i'm not quite sure what to make of this. the lower-right hole is the one based on the first item i selected for my custom feature and that seems to be relevant here, and in other cases where i ran into this with the same feature. clicking the edge of the first instance selects both instances. deselecting the first does not…
-
How to retrieve all the feature ids used to generate a part in a part studio
Hello, Is there any way to know what features and sketches (by ids or names) are used to generate a part, given the part Id using featurescript? For example, in the image, When I click on part 1, Extrude 1 is automatically highlighted, which means it's saved somewhere. Thank You.
-
Another feature script ID error...
@opPlane: Parent Id FIZxwPCJn00T9Nq_1.0 used at two non-contiguous points in operation history (Cannot have FIZxwPCJn00T9Nq_1.deleteBodies2.3 between FIZxwPCJn00T9Nq_1.0.SparPlanes and FIZxwPCJn00T9Nq_1.0.0) I don't know what is wrong with this clearly the ID'd are different because they are unique strings... the ID + i +…
-
Pipe Hole Feature gives the resulting part with a hole different IDs
I created a Pipe Hole feature that allows selection of a pipe part or a feature that created a pipeline and then also select a wall to penetrate. The feature creates the hole so there are no interferences between the pipe and the wall and it eliminates any wall that was inside the pipe. The problem is that the id of the…
-
Switch from Beam feature to Frame feature and preserve body ID's?
Long ago, I used the Beam feature to configure an 8020 extrusion. I can configure the profile, the length, and the machining on the ends. I have mate connectors whos positions change to stay in the expected mating locations when the configuration changes. The part number and description is configured to indicate the…
-
Array Parameter ID's/Names
How do I update the group name in this array parameter for each added group? https://cad.onshape.com/documents/8a8e419809a7dc3de36ff04d/w/0ed9e9d7984dea4c03a88617/e/3b07658a43284e036816907f annotation { "Feature Type Name" : "Boolean Groups", "Icon" : icon::BLOB_DATA }
export const myFeature =…
-
Vertex/edge/face IDs
I export part geometries (as STEP files) for use in 3D multibody simulations. I often add new connections to parts before simulation---to apply forces, add pulley or gear constraints, maybe sense motion---and these are ultimately based on the IDs of vertices, edges, or faces that I select from the STEP file geometries I…
-
Get Internal ID of selection
I would like to get the internal ID of my selection, so I can tell if a change will break some references or not.
-
Having troubles with: skCircle(Sketch, Id (array), map) does not match skCircle(..., string, ...)
the id: id+'circle1'+keys debugs to: Id : [ "FIZxwPCJn00T9Nq_1" , "circle1" , "0" ] I presume the issue is that it is an array of strings however this is valid for a sketch so I am puzzled. The link is: https://cad.onshape.com/documents/95877be3b17f49277e87a2c3/w/b503830fd20472014beb1221/e/4c4431103f44e823aca947dd the…
-
FeatureScript: Query imported geometry
I am trying to figure out how to refer to any geometry of a feature that has been imported into a PS through FeatureScript. (Import is done using either opMergeContext() or importDerived(), not sure which one is preferable). It is important to me that there is no user selection (feature querying) involved, as I will be…