importing styles from an existing 3dm

Next
 From:  pressure (PEER)
11287.1 
I love how I can import dimension property presets from an existing file. Is there a way to do the same kind of thing for styles?

- Peer
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11287.2 In reply to 11287.1 
Hi Peer,

re:
> I love how I can import dimension property presets from an existing file. Is there a
> way to do the same kind of thing for styles?

If you have a template file set under Options > General > "Template file" then you can use "Add default styles" (on the Styles menu in the scene browser) to load in the styles from that template file.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  pressure (PEER)
11287.3 In reply to 11287.2 
Hi Michael,

Thanks for your rapid reply.

I was hoping that there was a way to do this without going through a template, like how dimension presets can be directly imported from any old file.

But it sounds from what you're saying like that's not possible.

- Peer
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11287.4 In reply to 11287.3 
Hi Peer,

re:
> But it sounds from what you're saying like that's not possible.

Not currently but I will set up a new script method for moi.geometryDatabase.loadStylesFromFile( filename ) .

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  pressure (PEER)
11287.5 In reply to 11287.4 
Cool!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All