Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error fixing #76

Merged
merged 2 commits into from
Nov 9, 2024
Merged

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