Programming dimension driven cell with mdl

Hi,

I use a application written in mdl witch places a dimension driven cell. The dimensions of the cell are modified before placement through a list of values chosen from a list box.

I have currently switched to V8XM, before I used my application with V8. Since my switch the application is acting strange so I think there are some issues with the code.

When recompiling the application under XM I get a number of errors stating there are some functions not available anymore.

I am searching for a technical paper, manual, sourcecode that can explain how dimension driven cells can be programmed under XM.  I don't care if it is in mdl or VBA, as long as I can get my application up and running again.

Can anyone help me?

Regards 

Wim Aerts

4D select

Parents
  • The dimension-driven design api has not changed. What functions are compiler or linker complaining about?

    Sam Wilson 

     

  • Hi Sam,

    I get a complaint on two functions, one of them is mdlCell_getFilePosInLibrary and the other is consLGroup_readCell. Both of the functions work with filepositions in cell libraries.

    Regards.

     Wim Aerts

    4D select

    Wim Aerts

    4D select nv

  • A Cell Library is a DGN File

    Wim:
    I get a complaint on two functions, one of them is mdlCell_getFilePosInLibrary and the other is consLGroup_readCell. Both of the functions work with file positions in cell libraries.

    A cell library is a DGN file. A DGN file is a cell library. A DGN file contains models; a cell library contains cells: but a cell is a model. The difference between a cell library and a DGN file since V8.0 is the file extension.

    I believe that mdlCell_getFilePosInLibrary was deprecated wtih V8.0. I can't find consLGroup_readCell in either the V7 or V8 MDL documentation.

    Use something like mdlCell_findCell to determine whether a cell exists, then mdlCell_getElmDscr to get an MSElementDescr*, or mdlCell_placeCell to place the cell at a known location.

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions

Reply
  • A Cell Library is a DGN File

    Wim:
    I get a complaint on two functions, one of them is mdlCell_getFilePosInLibrary and the other is consLGroup_readCell. Both of the functions work with file positions in cell libraries.

    A cell library is a DGN file. A DGN file is a cell library. A DGN file contains models; a cell library contains cells: but a cell is a model. The difference between a cell library and a DGN file since V8.0 is the file extension.

    I believe that mdlCell_getFilePosInLibrary was deprecated wtih V8.0. I can't find consLGroup_readCell in either the V7 or V8 MDL documentation.

    Use something like mdlCell_findCell to determine whether a cell exists, then mdlCell_getElmDscr to get an MSElementDescr*, or mdlCell_placeCell to place the cell at a known location.

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions

Children