Results 1 to 8 of 8

Thread: "Add Null" feature: an lscript?

  1. #1
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726

    Question "Add Null" feature: an lscript?

    Is the feature "Add Null", the fancy one, is that an lscript?

    Is there source for it in the distro?


    tnx!
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  2. #2
    Code Muppet evenflcw's Avatar
    Join Date
    Feb 2003
    Location
    Stockholm, Sweden
    Posts
    2,642
    You mean the "Add Null" dialog which mirrors the GUI and sets up an instance of "Item Shape" custom object plugin?

    No. I think all that is 100% native, ie somewhere inside the main binaries, not in a .p or .ls. But the comring they implemented for that to work is accessible to 3rd parties. It's not documented but you can see it's use in makejointchain.ls .

  3. #3
    automator of tasks xchrisx's Avatar
    Join Date
    Jul 2003
    Location
    Nevada
    Posts
    593
    Blog Entries
    6
    just as a side note, I believe the comring stuff for the itemshape from LW10 does not work in LW11 since they changed the number of arguments (I believe they added the Xray feature) and its undocumented how to get it to work to my knowledge.
    My Lscript Collection | LinkedIn
    3D Generalist IGT

  4. #4
    Code Muppet evenflcw's Avatar
    Join Date
    Feb 2003
    Location
    Stockholm, Sweden
    Posts
    2,642
    Interesting and unfortunate side note.

  5. #5
    Animator / Artist Sculley's Avatar
    Join Date
    Feb 2003
    Location
    England
    Posts
    159
    I noticed the ItemShape has screwed up in LightWave 11, had a number of emails saying the scaling is now all wrong on some scripts. Anyone know best fix solution for it to keep compatibility in both 10 and 11? :S

  6. #6
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    Quote Originally Posted by Sculley View Post
    I noticed the ItemShape has screwed up in LightWave 11, had a number of emails saying the scaling is now all wrong on some scripts. Anyone know best fix solution for it to keep compatibility in both 10 and 11? :S
    How is ItemShape screwed up? I've been using it for nulls quite a bit.
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  7. #7
    Animator / Artist Sculley's Avatar
    Join Date
    Feb 2003
    Location
    England
    Posts
    159
    For example, in LScript if you add ItemShape via comring under version 10 and earlier, the scaling and representation by default matches the typical expected sizes of the nulls. But the same script and settings under version 11 produces greatly exagerated sized handles. Im typically using it as Standard shape but adding a Label and Draw Lines etc.

    http://www.teximitation.com/blog/lsc...ric_BoxRig.lsc is an example where this happens. Ive actually tested on two exactly the same scenes and run the script, using the same original comring code that has worked prior to 11 and only in 11 is it different. I will probably end up just fixing it with a workaround.

  8. #8
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    Bummer. Did you fog it?
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •