Eric Schwieterman

swModel.GetTitle outputs different results depending on windows settings

Discussion created by Eric Schwieterman on Mar 3, 2019
Latest reply on Mar 3, 2019 by Artem Taturevych

FYI- I couldn't figure out why some of my macros ran differently on different PC's.  Finally I found that swmodel.gettitle gives different results based on windows settings.

 

For example:

 

PC1 -  ABC123

 

PC2 - ABC123.SLDASM

 

I have read that some people prefer to use swmodel.getpathname instead and strip out the file name from that string instead.

Outcomes