Creating library parts – when there is no preview

Home Forums General discussions Creating library parts – when there is no preview

This topic contains 3 replies, has 2 voices, and was last updated by  Barry Kelly 3 months ago.

  • Author
    Posts
  • #3485

    Ben Cohen
    Participant

    Hi

    I am currently attempting to script a stair tread. I am finding it difficult because the 3d and 2d object previews will not work.
    So all I can do is constantly save, then go to the 3D window, then go back to the object etc etc etc

    How are the GS developers working?

    Any tips are greatly appreciated 🙂

  • #3486

    Barry Kelly
    Participant

    Hey Ben,
    I just saved a slab as a ‘stair tread component’ and can see the 3D preview with no problems.
    As I amend the script the preview changes.
    There was no 2D preview as it didn’t generate a 2D script.
    Do you have the correct subtype (“tread component”) selected?

    Barry.

    Versions 6.5 to 20
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • #3487

    Ben Cohen
    Participant

    Hi Barry

    Try scripting a tread using STAIR_TREAD_GEOMETRY and the other globals.
    They all return 0

  • #3488

    Barry Kelly
    Participant

    I see, if you open a stair you get all the scripts for the various parts.
    But the 2D/3D previews for them don’t work.
    I wonder if that is because they don’t have any size parameters being passed on from the master stair.

    Barry.

    Versions 6.5 to 20
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

You must be logged in to reply to this topic.