![]() |
#1 |
Senior Member
Professional user
Join Date: Jun 2003
Location: British Columbia, Canada
Posts: 255
|
![]()
Hi again,
I tried switching over my internals to use the 'argv' input template instead of 's' last night. The thing is, the expected input count is still being used. I tried with '1' (before I had a mashed string that I parsed internally) and 0, and each time AC3D reported that it got an unexpected number of args to my functions. I need to get this working so that object with spaces in their names can be used in csg operations. Any info is welcome, -- Jeff |
![]() |
![]() |
![]() |
#2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,537
|
![]()
Hi Jeff,
I'm afraid that the input count is actually checked for the argv form of the command. The can be changed in the future versions if needed. Andy |
![]() |
![]() |
![]() |
#3 |
Senior Member
Professional user
Join Date: Jun 2003
Location: British Columbia, Canada
Posts: 255
|
![]()
I can't easily know how many inputs are coming in... The object names could contain any number of spaces. Is there a good way that I can cause TCL to send an argument into AC3D as a single string? I'd tried enclosing in double-quotes, but that had no apparent effect.
Thanks, -- Jeff |
![]() |
![]() |
![]() |
#4 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,537
|
![]()
Single quotes should work fine.
e.g. Code:
ac3d object_set_data $current_object "this is some object data" |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|