Now I want to do a software for motion simulation of the model, using MFC and OIV, in use process, may have the following requirements:
1. There are new parts need to add to the existing model; 2. Need to delete the already installed parts; 3. Need to change the position of the parts
Excuse me what method can be implemented, in a display window of parts online to add, delete or position change?
PS: all parts of the model of iv files are independent, not from an assembly file,
I don't know I make myself clear, still hope you glad to great god,
CodePudding user response:
Oiv used, also did not understand, don't knowIf it is just part of the MFC, actually I didn't do it like a piece of functionality, but from the overall train of thought, the each parts as a whole to operate like
1. The first thing you need to do is to determine the area of each component, you can select it, other operations so that it can be
2. You need to create a dynamic list of the parts, when have new parts added, is added to the list, if any parts are deleted from the list also delete the
3. When a selected parts, can be deleted, can through the mouse or keyboard direction key move
4. So you need to have a variable, which indicates that the current selected parts, if you have selected, you will need to record what is selected
CodePudding user response:
Suggestions to participate in the SDK examples analysis first, https://www.openinventor.com/zh-hansCodePudding user response: