Skip to content

Comments

Error fixing#76

Merged
dtzxporter merged 2 commits intodtzxporter:cast-c4d-cleanupfrom
Devostated:cast-c4d-cleanup
Nov 9, 2024
Merged

Error fixing#76
dtzxporter merged 2 commits intodtzxporter:cast-c4d-cleanupfrom
Devostated:cast-c4d-cleanup

Conversation

@Devostated
Copy link
Contributor

@Devostated Devostated commented Nov 9, 2024

The clean up code had following errors:

#1

NameError:name 'CAST_IMPORT_BIND_SKIN' is not defined

Solution:
mxutils.ImportSymbols(PLUGIN_RES_DIR) is required to load the symbols of the res directory.

#2

vnTag.Set(vnData, int(i / 3),
TypeError:function takes at most 3 arguments (6 given)

Solution:
The third argument of c4d.NormalTag.Set has to be a dict

Devostated and others added 2 commits November 9, 2024 05:55
The clean up code had following errors:

dtzxporter#1
> NameError:name 'CAST_IMPORT_BIND_SKIN' is not defined

Solution:
`mxutils.ImportSymbols(PLUGIN_RES_DIR)` is required to load the symbols of the res directory.

dtzxporter#2
> vnTag.Set(vnData, int(i / 3),
TypeError:function takes at most 3 arguments (6 given)

Solution:
[c4d.NormalTag.Set](https://developers.maxon.net/docs/py/2025_0_0/modules/c4d/C4DAtom/GeListNode/BaseList2D/BaseTag/VariableTag/NormalTag/index.html?highlight=c4d%20normaltag#c4d.NormalTag.Set) has to be a dict
@dtzxporter dtzxporter merged commit 9996dd5 into dtzxporter:cast-c4d-cleanup Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants