Message 1 of 3
Editing entities in an ARX / DBX architecture
Not applicable
05-23-2006
01:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I would be pleased if someone could make me clear in a little contradictionary question.
I created a cust entity, defined worldDraw, getGripPoints, moveGripPointsAt functions in dbx module, then implemented an AcEdJig in arx module for entity creation. Everything works fine but there is one thing I could not solve yet:
I would like to define a custom grip point so, that when a user clicks on it, an mfc window appears with parameter settings and custom editing functions. My problem is that grip points are defined in the DBX module but the custom mfc window is located in the ARX module (it uses arx dependent functions). In the DBX / ARX architecture it is not allowed to reference an ARX object from the dbx module, so now I'm stuck.
By the way it was always a little bit confusing for me why should I implement grip point handling in the DBX module... It is a kind of user input and according to the DBX / ARX architecture user input should be handled in the ARX module. For me it would be much more logical, if grip points could be implemented with an AcEdJig-like object in the ARX module.
Thanks in advance!
I would be pleased if someone could make me clear in a little contradictionary question.
I created a cust entity, defined worldDraw, getGripPoints, moveGripPointsAt functions in dbx module, then implemented an AcEdJig in arx module for entity creation. Everything works fine but there is one thing I could not solve yet:
I would like to define a custom grip point so, that when a user clicks on it, an mfc window appears with parameter settings and custom editing functions. My problem is that grip points are defined in the DBX module but the custom mfc window is located in the ARX module (it uses arx dependent functions). In the DBX / ARX architecture it is not allowed to reference an ARX object from the dbx module, so now I'm stuck.
By the way it was always a little bit confusing for me why should I implement grip point handling in the DBX module... It is a kind of user input and according to the DBX / ARX architecture user input should be handled in the ARX module. For me it would be much more logical, if grip points could be implemented with an AcEdJig-like object in the ARX module.
Thanks in advance!