properties
Discussion List
-
Get multiple vertices from a query
How would I go about getting multiple vertices from a query? I have a parameter that creates a query of 3 points. I am attempting to make a plane using the 3 points. Here is what I have so far: annotation {"Name" : "Points", "Filter" : (EntityType.VERTEX), "MaxNumberOfPicks" : 3} definition.points is Query; var points =…
-
Next number in part number scheme feature script
How can I modify my featurescript for an O-ring part studio to automatically generate next part number for each new configuration, following the in-built onshape numbering scheme? Currently, I have to manually enter the desired configuration in the properties and create a version within the part studio. I have read that…
-
Setting the Name Property on a Composite Part
Perhaps this has come up before, but is there any fundamental reason I shouldn't be able to call setProperty for the name on a composite part? In other words, should I submit an IR to do so?
-
Copy properties from part being referenced by feature and assign to part being created
I have a custom sheet metal feature. It allows for selecting an imported part and selecting one face of the part. It then converts the whole thing into a new sheet metal part and deletes the imported part. I use this feature usually on derived sheet metal parts. Usually I have one master part studio and it contains too…
-
set properties to a variable (text)
I know this can be done with part studio or part properties (featurescript or computed part properties.) set property. But can it also be done with drawings or assemblies? looking for an easy way to have customer or project number show up in metadata of all parts, assemblies and drawings. any thoughts?
-
Work Around to Configure Part Properties without Dependence on All Configuration Inputs
I am trying to configure a part number to depend on two List inputs. The part also has a configuration variable input, but I don't want the part number to depend on it. A strategy I have conceived to do this is something like the following. The part number would be configured in the configured properties table using a…