here's some code that works... i hope it can be of some help...
/ //Create Object
dbLoadObject("c:\\program files\\3impact4\\3impactwork\\mygame_res\\typexxiii\\largecylinder.x",1 );
dbTextureObject( 1,0,11);
// Create floor
dbMakeObjectBox( 2,500,1,500);
dbPositionObject( 2,0,-165,0);
dbScaleObject(2,500.0,100.0,500.0);
dbScaleObjectTexture( 2,0,5,5);
dbTextureObject( 2,0,1);
dbSetObjectEffect (2,1);
//
// Glue Floor To Cyl
dbMakeObjectCube(1003,10); //the basis for the mesh for the limb
dbMakeMeshFromObject( 1,1003); // create a mesh to be used as a limb
dbAddLimb(1,2,1); // add the limb to object one (big cyl)
dbHideLimb(1,2); //don't need to see it any more
dbOffsetLimb(1,2,0,-14,0); //adjust location
dbGlueObjectToLimb( 2,1,2); // now glue something to it (the floor we just created above
i added some additional comments to try and help explain things...
good luck
--Mike