Announcement

Collapse
No announcement yet.

SU7 posibility to save material with components?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SU7 posibility to save material with components?

    I was looking at some of the changes to the SU Ruby API; http://sketchupapi.blogspot.com/2008...ketchup-7.html

    One thing which caught my attention:
    New "model level" callbacks in ModelObserver
    def onActivePathChanged(model) { # Detect edit mode }
    def onPlaceComponent(instance) { # Detect placements }
    def onExplode(model) { # Detect group/component explode }
    def onBeforeComponentSaveAs(instance) { # Add data on save
    Would it be possible with onBeforeComponentSaveAs to save components which store the V-Ray materials along with them?
    Please mention what V-Ray and SketchUp version you are using when posting questions.

  • #2
    Re: SU7 posibility to save material with components?

    We haven't taken a look at the new API yet...so I have no clue.
    Damien Alomar<br />Generally Cool Dude

    Comment


    • #3
      Re: SU7 posibility to save material with components?

      Does VfSU use the ruby API or do you have a different set of API to deal with?
      Please mention what V-Ray and SketchUp version you are using when posting questions.

      Comment


      • #4
        Re: SU7 posibility to save material with components?

        We only use the Ruby API. The only other thing that's available to develop with is the In/Out SDK, which we don't use.
        Damien Alomar<br />Generally Cool Dude

        Comment

        Working...
        X