[Video - 10 min] Using Base Classes and Instances in your GUI

Use classing to update a base class once, and have the changes instantly propagate to all of your instances!

 

Have more questions? Submit a request

5 Comments

  • 0
    Avatar
    Kay Fleskes

    This does a great job of illustrating the differences between base classes and instances.

  • 0
    Avatar
    Kay Fleskes

    One thing I was running into in Altia 10.2 was that images associated with base classes were not always showing up.  This was how I discovered the importance of the object model path.  I would appreciate some best practices guidance on this subject.  (the images were png files).  I notice also in this video that your paths were absolute.  Is this always desirable?

  • 0
    Avatar
    Brian Stewart

    Thanks again, Kay! Keep the feedback coming! I'll address your questions below:

    The paths in the "Base Objects Paths" list are absolute because that is configured per system (somewhat like an environment variable). The paths to images in Image objects should always be relative, though, so your design is portable.

    As for best practices. I like to create an "images" folder one level down from the .dsn file where I store all the images for a given model/project.

    If your question is best practices for the base object paths, then I might suggest creating your own folder for your custom base objects (and maybe even still having an /images folder for those base object dsn file images), then add that custom base object path to your Base Object Path list in Altia Design.

    Does that answer your questions?

  • 0
    Avatar
    Prasanna Nandaragi

    awesome!

  • 0
    Avatar
    Brian Stewart

    Thanks Prassana! I appreciate the feedback and the helpful vote!

Please sign in to leave a comment.