• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Schemas

Scheduled Pinned Locked Moved Newbie Forum
sketchup
18 Posts 5 Posters 1.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    Laggingbehind
    last edited by 27 Oct 2016, 14:10

    Exactly. I did go thro the article before posting this thread but failed in my attempts to get a working classification... No idea what I was doing wrong but still couldn't get it to load into sketchup so hence the thread.

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jim
      last edited by 28 Oct 2016, 00:10

      I am interested in learning about this in relation to SketchUp. I will preface this by saying I don't quite understand everything that is going on with SketchUp Classifications and XML Schemas, but here is something simple and which may work for you.

      The SketchUp Help Center article says SketchUp can import both .skc and .xsd files. .xsd file is a simple text file. I just googled an example .xsd file, modified it slightly, and imported into SketchUp via the Classification dialog.

      [1] Import the Thing.xsd file (from Model Info/Classification Dialog)
      [2] Classify your components as a "Thing" type (in Entity Info)
      [3] Open the Components Options Dialog.

      Of course, you will want to rename the Thing.xsd file and edit it's contents from "Thing" to whatever you want to name your classification.

      Rename to Thing.xsd

      2016-10-27_201449.png

      Hi

      1 Reply Last reply Reply Quote 0
      • J Offline
        juju
        last edited by 28 Oct 2016, 07:30

        I've also been toying with this but I have not had enough time to really get to the bottom of things.

        I've downloaded and tried the latest IFC schema (IFC4_ADD2) but that seems even more elaborate and technical than the one that ships with SketchUp.

        The option you've posted above seems like a viable option. Thanks.

        Save the Earth, it's the only planet with chocolate.

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by 28 Oct 2016, 08:35

          I see SketchUp will create a drop-down for enumerations which is a nice feature. I'm out of time now but can post an example later.

          2016-10-28_043606.png

          Hi

          1 Reply Last reply Reply Quote 0
          • L Offline
            Laggingbehind
            last edited by 28 Oct 2016, 09:05

            That's great Jim & really appreciated ๐Ÿ˜„
            I'll have a proper look later in the day, apparently my boss thinks I should we working hahaha

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by 28 Oct 2016, 11:07

              For reference, the following page is a good place to start.

              Link Preview Image
              XML Schema Part 0: Primer Second Edition

              favicon

              (www.w3.org)

              Hi

              1 Reply Last reply Reply Quote 0
              • J Offline
                juju
                last edited by 28 Oct 2016, 14:22

                Also take a look at the IFC Doc application over at buildingSMART to help you "roll your own".

                Save the Earth, it's the only planet with chocolate.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by 29 Oct 2016, 09:16

                  @laggingbehind said:

                  That's great Jim & really appreciated ๐Ÿ˜„
                  I'll have a proper look later in the day, apparently my boss thinks I should we working hahaha

                  You could use plain old Dynamic Component attributes for this - then you could use the fields with Generate Report. Any reason you want a schema?

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    Laggingbehind
                    last edited by 15 Nov 2016, 18:04

                    I guess the reason I wanted to go down the Schema route is because if I have a drawing with 30 components I thought it would be easier than creating the attributes each time....however I stand to be corrected if I'm wrong

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by 15 Nov 2016, 21:32

                      @laggingbehind said:

                      I guess the reason I wanted to go down the Schema route is because if I have a drawing with 30 components I thought it would be easier than creating the attributes each time....however I stand to be corrected if I'm wrong

                      That sounds about right if you don't need reporting directly in SketchUp. I don't know if there are extensions that provide Classification reporting for SketchUp - there is no reason there couldn't be one similar to "Generate Report" only for Classifications.

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Buy SketchPlus
                      Buy SUbD
                      Buy WrapR
                      Buy eBook
                      Buy Modelur
                      Buy Vertex Tools
                      Buy SketchCuisine
                      Buy FormFonts

                      Advertisement