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.

Options

Place where I can find some more descriptive documentation on EntityInferenceType

C_JustinC_Justin Member Posts: 16
Hi there,

Just want to check where can I find some descriptions for EntityInferenceType enums? It seems the documentation column for this type is empty in the feature script doc.

Thanks!

Comments

  • Options
    NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,379
    See https://cad.onshape.com/FsDoc/library.html#mateConnector-Context-Id-map - these are the positions where a mate connector appears when you drag your mouse over geometry.
    Senior Director, Technical Services, EMEAI
  • Options
    Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,646
    edited February 2020
    @C_Justin

    I will put in a ticket internally to document this enum.  Thanks for pointing it out.

    Once the descriptions are generated I will post them here as well so you don't have to wait for the push.
    Jake Rosenfeld - Modeling Team
  • Options
    Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,646
    @C_Justin

    Still working on this, but I realized that this Enum is only used in the `mateConnector` feature.  When using FeatureScript, it would be better to make a call directly to `opMateConnector` (the underlying operation which adds mate connectors to the Part Studio) rather than the `mateConnector` feature, which is the code that is called when the user clicks on the "Mate connector" button in the UI. (i.e. it is a Feature, in the same sense that your custom feature is a Feature)
    https://cad.onshape.com/FsDoc/library.html#opMateConnector-Context-Id-map

    This is a good general rule when programming in FeatureScript.  It is easier and faster to call `opExtrude` than `extrude`, `opRevolve` than `revolve`, `opSweep` than `sweep`, etc.
    Jake Rosenfeld - Modeling Team
  • Options
    Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,646
    @C_Justin

    Finished this up, it will be available in an upcoming release.  In the meantime, here is the documentation for those fields (the undocumented ones are not implemented for FeatureScript, and will always fail)


    Jake Rosenfeld - Modeling Team
Sign In or Register to comment.