bl_idname requirements for 2.80
up vote
1
down vote
favorite
The python api change notes for 2.80 give new requirements for bl_idname. I'm getting an error telling me that "MAPLUS_OT_changetypebaseclass" is an invalid name:
RuntimeError: Error: Registering operator class: 'ChangeTypeBaseClass', invalid bl_idname 'MAPLUS_OT_changetypebaseclass', at position 0
Am I following the naming requirements properly? The addon file is here for reference.
python
add a comment |
up vote
1
down vote
favorite
The python api change notes for 2.80 give new requirements for bl_idname. I'm getting an error telling me that "MAPLUS_OT_changetypebaseclass" is an invalid name:
RuntimeError: Error: Registering operator class: 'ChangeTypeBaseClass', invalid bl_idname 'MAPLUS_OT_changetypebaseclass', at position 0
Am I following the naming requirements properly? The addon file is here for reference.
python
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
The python api change notes for 2.80 give new requirements for bl_idname. I'm getting an error telling me that "MAPLUS_OT_changetypebaseclass" is an invalid name:
RuntimeError: Error: Registering operator class: 'ChangeTypeBaseClass', invalid bl_idname 'MAPLUS_OT_changetypebaseclass', at position 0
Am I following the naming requirements properly? The addon file is here for reference.
python
The python api change notes for 2.80 give new requirements for bl_idname. I'm getting an error telling me that "MAPLUS_OT_changetypebaseclass" is an invalid name:
RuntimeError: Error: Registering operator class: 'ChangeTypeBaseClass', invalid bl_idname 'MAPLUS_OT_changetypebaseclass', at position 0
Am I following the naming requirements properly? The addon file is here for reference.
python
python
asked 6 hours ago
egtwobits
47145
47145
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
2
down vote
Expected a class name including _OT_
This should work.
class MAPLUS_OT_changetypebaseclass(bpy.types.Operator):
bl_idname = "maplus.changetypebaseclass"
add a comment |
up vote
0
down vote
Keep in mind 2.8 is very Beta. But I could be wrong, but I'm surprised thats the only error you're getting. I thought all of the class names were to be changed? But I saw that on this programmers video: https://www.youtube.com/watch?v=Mjy-zGG3Wk4
So I don't know if this generates errors or not.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Expected a class name including _OT_
This should work.
class MAPLUS_OT_changetypebaseclass(bpy.types.Operator):
bl_idname = "maplus.changetypebaseclass"
add a comment |
up vote
2
down vote
Expected a class name including _OT_
This should work.
class MAPLUS_OT_changetypebaseclass(bpy.types.Operator):
bl_idname = "maplus.changetypebaseclass"
add a comment |
up vote
2
down vote
up vote
2
down vote
Expected a class name including _OT_
This should work.
class MAPLUS_OT_changetypebaseclass(bpy.types.Operator):
bl_idname = "maplus.changetypebaseclass"
Expected a class name including _OT_
This should work.
class MAPLUS_OT_changetypebaseclass(bpy.types.Operator):
bl_idname = "maplus.changetypebaseclass"
edited 1 hour ago
batFINGER
21.6k42464
21.6k42464
answered 4 hours ago
Stephen Leger
1063
1063
add a comment |
add a comment |
up vote
0
down vote
Keep in mind 2.8 is very Beta. But I could be wrong, but I'm surprised thats the only error you're getting. I thought all of the class names were to be changed? But I saw that on this programmers video: https://www.youtube.com/watch?v=Mjy-zGG3Wk4
So I don't know if this generates errors or not.
add a comment |
up vote
0
down vote
Keep in mind 2.8 is very Beta. But I could be wrong, but I'm surprised thats the only error you're getting. I thought all of the class names were to be changed? But I saw that on this programmers video: https://www.youtube.com/watch?v=Mjy-zGG3Wk4
So I don't know if this generates errors or not.
add a comment |
up vote
0
down vote
up vote
0
down vote
Keep in mind 2.8 is very Beta. But I could be wrong, but I'm surprised thats the only error you're getting. I thought all of the class names were to be changed? But I saw that on this programmers video: https://www.youtube.com/watch?v=Mjy-zGG3Wk4
So I don't know if this generates errors or not.
Keep in mind 2.8 is very Beta. But I could be wrong, but I'm surprised thats the only error you're getting. I thought all of the class names were to be changed? But I saw that on this programmers video: https://www.youtube.com/watch?v=Mjy-zGG3Wk4
So I don't know if this generates errors or not.
answered 5 hours ago
Monolith
658
658
add a comment |
add a comment |
Thanks for contributing an answer to Blender Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fblender.stackexchange.com%2fquestions%2f124736%2fbl-idname-requirements-for-2-80%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown