Skip to main content
15-Moonstone
October 26, 2020
Question

Publishing Additonal file types, adding version and/or date to prefix?

  • October 26, 2020
  • 2 replies
  • 2712 views

I have figured out how to get Step files publishing as additional content, however the files give no indictaion of the original CAD version or last modified date. Is there some way I can add the EPMdoc version or last modifed date to the step file prefix of suffix?

2 replies

23-Emerald IV
October 26, 2020
15-Moonstone
October 26, 2020

Thanks Tom, of course it requires customisation, nothing is simple

22-Sapphire I
October 26, 2020

Not all that simple but as Windchill customizations go this one is not too bad.

We have had this in place and in use for 3+ years (adding version to attached filenames).  Works perfectly.

 

note: Creo generates STEP files with one extension (I think .stp) and Solidworks with another (.step). Requires property to have both values.  Likely similar for other CAD tools.

16-Pearl
October 26, 2020

IBAs can be used in the publish rules conditions:

 

<condition name="iba without value">
   <attribute name="epmdoc_MyIBA" />
</condition>
<if condition="iba without value">
   <publish on="checkin" />
</if>

 

So maybe IBAs can used in the output-prefix or output-suffix also?

Would be nice to know if you find a way.

 

<additional-files name="ipt_stl_step_catia_v5_iges">
   <file display-label="stl" type="stl"  default="true"  output-prefix="stl"/>
   <file display-label="step" type="step"  default="true"  output-prefix="step"/>
   <file display-label="catiav5" type="catiav5"  default="true"  output-prefix="catiav5"/>
   <file display-label="iges" type="iges"  default="true"  output-prefix="iges"/>

</additional-files>

22-Sapphire I
October 26, 2020

Yes, customizations are a major, major consideration for upgrades.

Some customizations are required before you can import the database.  Others can be added after.

 

But, for sure, once you need a customization, it has to be in every target system forever unless you're able to accomplish some other way.

We track and carefully manage customizations that are stored in the database and those that are not  essential to do. Also need very good instructions for applying each, in case some other person needs to do so in the future.