Cancel
Showing results for 
Search instead for 
Did you mean: 

ImportStyles method: How to use

Experimenter
Experimenter

Hi everybody

 

I'm unsuccessfully trying to use the "ImportStyles" method.

 

What I'm trying to do is programmatically (VBA code) open a list of files that I have on a excel spreadsheet and import a view style that I have on a template document (E.G. "MyTemplate.par")

 

The SDK reference guide is lacking an example. (Or I wasn't able to find it..)

 

In the same VBA Macro I was able to open the files in the list, hide reference planes, optimize zoom, hide construction surfaces, and other "aesthetic" stuff.

 

Can someone help me with an example of VBA code that does the task?

 

Thanks.

 

Fabrizio Sanelli

3 REPLIES 3

Betreff: ImportStyles method: How to use

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Hi @Briiii

 

 

maybe this question is better placed in the Developers Forum rather than here.

They better can answer and help You with that request.

regards
Wolfgang

Betreff: ImportStyles method: How to use

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Hi @Briiii

 

 

 

... and what I have learned is, that not every interative task of SE can be automated via the API interface.

There are several commands which are not available as coded function

regards
Wolfgang

Betreff: ImportStyles method: How to use

Experimenter
Experimenter

My error; had many windows open and posted in the wrong one.

 

I'll try to repost in the developer forum.

 

Thank you for the answer.

 

Fabrizio Sanelli