Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / adding limb error

Author
Message
paulhenry
16
Years of Service
User Offline
Joined: 20th Jun 2008
Location:
Posted: 26th Feb 2009 18:15 Edited at: 26th Feb 2009 19:29
runtime error 7206 - you must link limbs in chain sequence at line Add Limb.Ive tried a few variations but cant get past the error,anyone know where im going wrong to add the limb.


IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Feb 2009 19:31
Yes, the next available limb on your loaded object isn't limb 1. I'd guess that your object has multiple limbs already.

paulhenry
16
Years of Service
User Offline
Joined: 20th Jun 2008
Location:
Posted: 26th Feb 2009 19:42
Forgot to mention I have a animated character for object 1,is perform checklist for object limbs going to tell me,if so how do you print the result, or could you say what needs to be done to correct this please.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Feb 2009 19:46
Quote: "is perform checklist for object limbs going to tell me"

Yes, just loop through your checklist value a recording the highest number you find. Then add 1 to get the next free limb.

Alternatively (and people should be expecting this by now), you could take a look at my plug-ins, particularly plug-in 12. That contains many new commands and functions for dealing with limbs that makes the whole issue go away. Take a look at the APPEND LIMB functions/commands.

paulhenry
16
Years of Service
User Offline
Joined: 20th Jun 2008
Location:
Posted: 26th Feb 2009 20:03
Many thanks,not quite there yet.

[code
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Feb 2009 20:10
Have you actually installed my plug-ins? Click on the first link in my signature and follow the download/installation instructions in the first post.

paulhenry
16
Years of Service
User Offline
Joined: 20th Jun 2008
Location:
Posted: 26th Feb 2009 20:35
Should this code work if plugins installed successfully?if not could you ammend appropriately.

"perform checklist for object limbs 1
limb count = GET LIMB COUNT(1)
print limb count"
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 26th Feb 2009 20:48
It does not like the space in limb count try limbcount or limb_count.



Dark Physics makes any hot drink go cold.
paulhenry
16
Years of Service
User Offline
Joined: 20th Jun 2008
Location:
Posted: 26th Feb 2009 21:21
Many thanks guys,there were 31 limbs,just added limb 32 and it ran so thanks again.

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Feb 2009 22:03
... or you can use APPEND LIMB and not worry about the next available limb number.

paulhenry
16
Years of Service
User Offline
Joined: 20th Jun 2008
Location:
Posted: 26th Feb 2009 22:24
Now that I have my limb which is offset can the limb be controlled by the mouse for a target and if it can how please.

Login to post a reply

Server time is: 2024-09-28 02:22:41
Your offset time is: 2024-09-28 02:22:41