Hello everybody,
Once again I don't know how to 'translate' a piece of V7 code.
I have :
if ( (tcb ->fbfdcn.design3d == 0)) { mdlInput_sendKeyin ("ACTE2D SECTION2D BACKDGN_RETOUR", 0, INPUTQ_EOQ, ustnTaskId); return INPUT_COMMAND_REJECT; }
'design3d' is no more an element of the fbfdcn struct.
How could I replace that piece of code in V8iSS3 ?
Can anybody tell me where can I find documentation on V7 MDL ?
Thanks, Pascal.
Pascal,
In your migration process It would be best for you to identify what the old application did. Then see if the new product includes the functionality already, or has possibly has made it obsolete with new or improved workflows. Then write down the functionality (functional specifications) in general terms and try to find a suitable solution by searching in the API documentation (and headers depending on language). If you cannot find the necessary information then post a question on the forums asking in those general terms how to achieve the feature/task in the new target version and language intended. This should help make the process a bit smoother for everyone involved with the migration.
Unknown said:Can anybody tell me where can I find documentation on V7 MDL ?
A full MicroStation/J install includes the MDL SDK and installs the documentation under:..\Program\MicroStation\docs\mdehelp.hlp
A more extensive list of product and also MDL feature specific documentation can be found by navigating or searching our online documentation. Here is a search for MDL documentation.HTH,Bob
Unknown said:'design3d' is no more an element of the fbfdcn struct
MicroStation V7 stored graphic elements in a DGN design file. The file could be 2D or 3D. That TCB variable tells us that dimension.
MicroStation V8 stores multiple models per DGN file. Each model may be 2D or 3D. A file therefore has no dimensionality. You must examine each model to determine whether it is 2D or 3D.
MDL's API to DGN models is the mdlModelRef_api. mdlModelRef_getActive returns a pointer to the active model. mdlModelRef_is3D tells you if a model is 3D or 2D.
Unknown said:Can anybody tell me where can I find documentation on V7 MDL?
Perhaps the Bentley Systems website?
Regards, Jon Summers LA Solutions
Answer Verified By: Pascal Moron