Inventor General Discussion

Inventor General Discussion

Reply
Valued Contributor
marshallw
Posts: 87
Registered: ‎04-05-2007
Message 1 of 15 (5,807 Views)

Import STYXML files to Inventor 2013 materials library

5807 Views, 14 Replies
06-01-2012 01:12 PM

Does anyone have a process for importing INDIVIDUAL materials (saved as some_material.styxml) that had been exported from Inventor 2011 or 2012 into the 2013 Inventor Material Library?

 

I am not asking about converting the old libraries -- I know how to do that -- these are materials that were created for one-time (supposedly) use and exported from the 2012 Inventor file, but never saved to the older Inventor styles libraries. Operation was EASY in 2012 -- click the "Import" button on the styles manager dialog box.

 

No such button on the new materilas library manager, or am I missing something?

 

Only way I have been able to do this is create a 2102 part, import the STYXML file, apply the material to the 2012 part, then save the part & open it in 2013 & let 2013 import the style. Once the material style has been imported this way, it can be added to the Inventor Material Library, but this is a really nutty workaround that requires Inventor 2102 to be available...

 

Thanks in advance for any help.

Board Manager
ChrisMitchell01
Posts: 453
Registered: ‎09-16-2005
Message 2 of 15 (5,792 Views)

Re: Import STYXML files to Inventor 2013 materials library

06-01-2012 02:22 PM in reply to: marshallw

You can still import material styxml files from the Styles Editor; you just won't see the resulting material appear in that dialog.

 

Following the import you can use the Material Editor dialog to add the imported material to whichever library you wish.

 

Thanks,
Chris



Chris Mitchell
Inventor Customer Engagement Team
Autodesk, Inc.

Valued Contributor
marshallw
Posts: 87
Registered: ‎04-05-2007
Message 3 of 15 (5,789 Views)

Re: Import STYXML files to Inventor 2013 materials library

06-01-2012 02:35 PM in reply to: ChrisMitchell01

What?!?!?!

 

So Autodesk chose to leave the Materials/Colors Import button on the Styles Editor, that now shows only Lighting styles??? And not document that little oversight???

 

Typical :-(

 

Thanks for the answer Chris -- I know you're not @ fault here, but the guys who are making the new "Features" at the development labs need to think of small things like this. This should have been a no brainer -- our customer should have never had to call me on this & I should not have had to spend 4 hours looking for an answer...

 

Marshall

Valued Contributor
marshallw
Posts: 87
Registered: ‎04-05-2007
Message 4 of 15 (5,788 Views)

Re: Import STYXML files to Inventor 2013 materials library

06-01-2012 02:39 PM in reply to: ChrisMitchell01

Chris,

 

As an additional question to your answer, if I import a material using the "Import" button, I am assuming now that the imported material will be added to the currently ACTIVE style library (providing it is not read-only).

 

Is this correct?

 

Marshall

Board Manager
ChrisMitchell01
Posts: 453
Registered: ‎09-16-2005
Message 5 of 15 (5,786 Views)

Re: Import STYXML files to Inventor 2013 materials library

06-01-2012 03:06 PM in reply to: marshallw

Hi Marshall,

 

The style will be imported only to the active document - following import you will see a message as attached.

 

You'll need to use the Material Editor to add it to your active library after that.

 

Thanks,
Chris



Chris Mitchell
Inventor Customer Engagement Team
Autodesk, Inc.

Active Contributor
warren.ramsdale
Posts: 26
Registered: ‎10-14-2009
Message 6 of 15 (5,535 Views)

Re: Import STYXML files to Inventor 2013 materials library

08-02-2012 03:49 AM in reply to: marshallw

Hi there, 

 

Is that the same for legacy colour syles? We have a RAL.styxml which we want to import which as it suggests is a library of RAL Colours. how do we import that to the "apprarance" library or favorites etc?

 

Many thanks

 

Board Manager
ChrisMitchell01
Posts: 453
Registered: ‎09-16-2005
Message 7 of 15 (5,532 Views)

Re: Import STYXML files to Inventor 2013 materials library

08-02-2012 04:00 AM in reply to: marshallw

Warren,

 

Any styxml file can only be imported to 2013 from the Styles Editor. The resulting imported appearances will only appear in your current document. If you want to move them to a library or Favorites folder then you will have to drag them across from within the Appearance browser.

 

If have a colors.xml file from 2012 or prior then you can directly migrate that to the new adsklib format, (Migrate button is down at the bottom left of the Materials or Appearance browser).

 

Note that we are aware of an issue in some early RAL color definition styxml files, where the Diffuse values were incorrectly set as “0 0 0 100” . To get these to import properly you will need to edit the styxml file & change this to “0 0 0 1” An example of a "fixed" RAL styxml file is attached.

 

Hope this helps,
Chris



Chris Mitchell
Inventor Customer Engagement Team
Autodesk, Inc.

Active Contributor
TechW
Posts: 28
Registered: ‎06-20-2012
Message 8 of 15 (5,432 Views)

Re: Import STYXML files to Inventor 2013 materials library

08-14-2012 01:50 PM in reply to: ChrisMitchell01

Excue my ignorance... but is an styxml and an .XMLfile the same thing?

I am trying to get some materials (.XML) files from Inventor Publisher 2012 into Inventor 2013... there is not an .atdsklib file in that folder to be able to migrate it.

What is/may be the best method to get an existing .XML and supporting .PNG materials file into Inventor 2013?

 

Thanks in advance,

TechW

"Livin' on Tulsa time"

TechW
Using 3ds Max Design 2015
Active Contributor
MechEng_1
Posts: 44
Registered: ‎08-04-2011
Message 9 of 15 (4,473 Views)

Re: Import STYXML files to Inventor 2013 materials library

01-10-2013 08:45 AM in reply to: marshallw

Hi,

 

Trying to get to grips with this ridiculous 'improvement' and i tried to import your Ral file. It imports fine as the new ral colours appear in the small drop down box at the top of the browser, howeve if i click on the appearance browser button from the ribbon they are no where to be seen? Where are they? This has happened with materials i have imported as well, listed in the drop dwon box at the top but i cannot find them in the material browser anywhere.

 

Any help would be great.

 

Board Manager
ChrisMitchell01
Posts: 453
Registered: ‎09-16-2005
Message 10 of 15 (4,461 Views)

Re: Import STYXML files to Inventor 2013 materials library

01-10-2013 01:07 PM in reply to: MechEng_1

Hi,

 

When you import data from a styxml file, it will only reside in the document which you imported it to. Depending on whihc file you are working in when you open the material/appearance browser you may or may not see the imported data.

 

Also note that there are filters on these new browsers which allow you to see only what is currently in use - please ensure you do not have one of those filters in place. (Icon over on the right hand side of the material/appearance browser).

 

Do you have any screenshots of what happens on the import dialog & also then what you see on the material/appearance browsers when working in the same document ?

 

Thanks,
Chris



Chris Mitchell
Inventor Customer Engagement Team
Autodesk, Inc.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.