is it possible to have separate custom properties for each modelstate?

is it possible to have separate custom properties for each modelstate?

Miguel.CarvajalS34Q6
Advocate Advocate
467 Views
2 Replies
Message 1 of 3

is it possible to have separate custom properties for each modelstate?

Miguel.CarvajalS34Q6
Advocate
Advocate

Hi, I need to change some custom properties of the part according to the modelstate. for example number of operation, machine, and measurement instruments and not if it is possible to integrate these variables in the states of the model.

0 Likes
Accepted solutions (1)
468 Views
2 Replies
Replies (2)
Message 2 of 3

WCrihfield
Mentor
Mentor
Accepted solution

Hi @Miguel.CarvajalS34Q6.  The short answer is Yes.  That is one of the main advantages of ModelStates.  Each ModelState essentially represents a different Document within the one file on disk.  And each ModelState can have different parameter values, iProperty values, suppression statuses, and so on.  However, if a Parameter or custom iProperty exists, it will exist for every ModelState, but might not necessarily have a different value in each ModelState, unless you set them that way.  When working directly in that document (it is visible on your screen at the time), the main thing to keep in mind is the edit scope.  There are several ways to control this, but the main tool is on the Manage tab, Author panel, and will either say "Edit Member Scope" or "Edit Factory Scope".  If you want to edit each ModelState differently, then you will want that to be on the Edit Member Scope setting, but if you want to edit all ModelStates in exactly the same way, set it to Edit Factory Scope.  This can also be controlled by the little pencil icons by the Model States folder, and each ModelState in the model browser tree.  Are you wanting to control these manually, or by code?

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

Message 3 of 3

Miguel.CarvajalS34Q6
Advocate
Advocate

As a learning exercise, I would like to know both ways, to evaluate which is the most efficient for my process.

0 Likes