can’t you just use the c# version of superclassof… ? node…object…superclass ?
Point3 TwistDeformer::Map(int i, Point3 p) { float x, y, z, cosine, sine, a; if (theAngle==0.0f) return p; p = p * tm; x = p.x; y =…
it quite interesting that getpropnames (get & set properties) goes through ClassDesc (via DllDir) not the node (other than providing the class id’…
it’s not an issue with IParamBlock2 per se… p = plane() getpropnames p produces the out put #(…… #renderScale, #mapcoords, …..) but the actu…
Solved one of the quanderies… the conversion to #name throws up some interesting results. illustrated by… “ABC” as name “mapCoords” as name if the …
it’s a simpleobject with just one class SimpleObject : public GeomObject { public: IParamBlock *pblock;
yeah, it’s was tested in max 2010 and box objects don’t have iparamblock2 so don’t support iparamblock2* Animatable::GetParamBlock(int i)
I tested the GetParamName with… INode* node = arg_list[knode]->to_node(); Object* obj = node->GetObjectRef(); GetParamName gpn(TSTR(_T(“”)),…
my current thinking it’s just hard coded for all objects with pb1 and autodicks just assumes all third party stuff will be pb2
Yeah Simple object does support this… case REFMSG_GET_PARAM_NAME: { GetParamName *gpn = (GetParamName*)partID; gpn->name = GetParameterName…
needs to work in IParamBlock not just IParamBlock2, besides thats “mapCoords” not “mapcoords”
there’s quite a few ways to duplicate this issue, drag shift a face (poly or mesh) to create a cloned face in the local xy plane will do the trick! ho…
and any fix from autodesk is not going to be back dated
I’ve got plenty of ray intersect stuff I can use instead but it’s not my issue as such