I am currently creating a plug-in node for Maya by referring to the article here, which is similar to the one in this 129-140 line
MFnNAIns_input_offset.create('offset_x', 'ox', om.MFnNumericData.kFloat, default_value)
I would like to create both input and output of the matrix and quota nions as well as .
However, as far as the here references are read, only the float value is included as an initial value, and
python
python3
Self-resolved.
For the matrix, eMFnMatrixAttribute 「 instead of nMFnNumericAttribute 」 was present.
For quota nions, when I checked the attributes of an existing node (check Tips by cursor), it said TDataCompound and the contents were Float values, so apparently there were no attributes dedicated to quota nions, but they were pseudo-expressed with four Float values.
Therefore, regarding quota nions, we were able to use here articles to create similar nodes using MFnCompoundAttribute and MFnNumericAttribute.
© 2025 OneMinuteCode. All rights reserved.