Community
Vault Forum
Welcome to Autodesk’s Vault Forums. Share your knowledge, ask questions, and explore popular Vault topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Remove .idw & .dwg when Create PDF used

13 REPLIES 13
SOLVED
Reply
Message 1 of 14
Anonymous
1473 Views, 13 Replies

Remove .idw & .dwg when Create PDF used

Anonymous
Not applicable

Hoping someone can spot where I'm going wrong here.

Just trying to use Right click "Create PDF" in Vault explorer for now, its creating them and syncing lifecycle stage with the drawing but I just cant get it to drop the file extension from the name.

 

I'm using Vault 2021, created the Design Representation Lifecycle etc (though it was creating the pdf's before I did this).

 

- I don't have a Vault Professional 2021 folder, the config file is in ....Vault Client 2021\Explorer

- I've added this line to the Job Processor config file at the end of the "<add key" lines (hopefully showing in Bold below):

 

    <add key="DataManagement.Common.Logging.Viewer.Path" value="H:\ThirdParty\Datamanagement.Common.Logging\content\MessageViewer\DataManagement.Common.Messaging.Viewer.exe"/>

    <add key="DataManagement.Common.Logging.Viewer.AcceptLocalMessageOnly" value="True"/>

    <add key="DataManagement.Common.Logging.Viewer.Port" value="8080"/>

    <add key="DataManagement.Common.Logging.Viewer.AutoLaunch" value="False"/>

    <!--Remove the .idw & .dwg extension from autocreated pdf file names-->

    <add key="DesignRepresentation.Naming" value="\.(idw|dwg)$/&lt;_name_&gt;">

  </appSettings>

  <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/>

  </startup>

  <runtime>

    <AppContextSwitchOverrides value="Switch.System.ServiceModel.DisableUsingServicePointManagerSecurityProtocols=false;Switch.System.Net.DontEnableSchUseStrongCrypto=false;Switch.System.ServiceModel.DontEnableSystemDefaultTlsVersions=true;Switch.System.Net.DontEnableSystemDefaultTlsVersions=true" />

  </runtime>

</configuration>

...................................................................

I know this default naming will occur if there's a problem with the config file OR the name of the drawing OR if some fields are left blank? If my config file is ok, Are there any more detailed errors I can look for that might be creating this default naming?

Thankyou

 

0 Likes

Remove .idw & .dwg when Create PDF used

Hoping someone can spot where I'm going wrong here.

Just trying to use Right click "Create PDF" in Vault explorer for now, its creating them and syncing lifecycle stage with the drawing but I just cant get it to drop the file extension from the name.

 

I'm using Vault 2021, created the Design Representation Lifecycle etc (though it was creating the pdf's before I did this).

 

- I don't have a Vault Professional 2021 folder, the config file is in ....Vault Client 2021\Explorer

- I've added this line to the Job Processor config file at the end of the "<add key" lines (hopefully showing in Bold below):

 

    <add key="DataManagement.Common.Logging.Viewer.Path" value="H:\ThirdParty\Datamanagement.Common.Logging\content\MessageViewer\DataManagement.Common.Messaging.Viewer.exe"/>

    <add key="DataManagement.Common.Logging.Viewer.AcceptLocalMessageOnly" value="True"/>

    <add key="DataManagement.Common.Logging.Viewer.Port" value="8080"/>

    <add key="DataManagement.Common.Logging.Viewer.AutoLaunch" value="False"/>

    <!--Remove the .idw & .dwg extension from autocreated pdf file names-->

    <add key="DesignRepresentation.Naming" value="\.(idw|dwg)$/&lt;_name_&gt;">

  </appSettings>

  <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/>

  </startup>

  <runtime>

    <AppContextSwitchOverrides value="Switch.System.ServiceModel.DisableUsingServicePointManagerSecurityProtocols=false;Switch.System.Net.DontEnableSchUseStrongCrypto=false;Switch.System.ServiceModel.DontEnableSystemDefaultTlsVersions=true;Switch.System.Net.DontEnableSystemDefaultTlsVersions=true" />

  </runtime>

</configuration>

...................................................................

I know this default naming will occur if there's a problem with the config file OR the name of the drawing OR if some fields are left blank? If my config file is ok, Are there any more detailed errors I can look for that might be creating this default naming?

Thankyou

 

13 REPLIES 13
Message 2 of 14
gandhey
in reply to: Anonymous

gandhey
Autodesk
Autodesk
Accepted solution

Hello,

 

Please refer following article it shows the appsetting that needs to be added :
https://knowledge.autodesk.com/support/vault-products/learn-explore/caas/sfdcarticles/sfdcarticles/H...

 

You need to use a \ in the 2 parameter settings for idw and dwg extensions :

<add key="DesignRepresentation.Naming" value="\.(dwg)$/&lt;_name_&gt;/\.(idw)$/&lt;_name_&gt;"/>

 

Regards,

Yogeshwar

(Vault team)

 

Hello,

 

Please refer following article it shows the appsetting that needs to be added :
https://knowledge.autodesk.com/support/vault-products/learn-explore/caas/sfdcarticles/sfdcarticles/H...

 

You need to use a \ in the 2 parameter settings for idw and dwg extensions :

<add key="DesignRepresentation.Naming" value="\.(dwg)$/&lt;_name_&gt;/\.(idw)$/&lt;_name_&gt;"/>

 

Regards,

Yogeshwar

(Vault team)

 

Message 3 of 14
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

Thanks so much @gandhey It didn't work. I have this:

..........................................................................................................................................................

  <add key="DataManagement.Common.Logging.Viewer.Port" value="8080"/>

    <add key="DataManagement.Common.Logging.Viewer.AutoLaunch" value="False"/>

    <!--Remove the .idw & .dgw extension from autocreated pdf file names-->

    <add key="DesignRepresentation.Naming" value="\.(idw)$/&lt;_name_&gt;/\.(dwg)$/&lt;_name_&gt;">

  </appSettings>

.......................................................................................................................

  

Would this be happening if I have made an error in the steps to create the Design Represention Lifecycle etc? (even though Im using R click > Create PDF, not the change in lifecycle?

(I haven't set the permissions to Modify for the Source File in the Released state...it makes me nervous to do this).

Thannkyou

0 Likes

Thanks so much @gandhey It didn't work. I have this:

..........................................................................................................................................................

  <add key="DataManagement.Common.Logging.Viewer.Port" value="8080"/>

    <add key="DataManagement.Common.Logging.Viewer.AutoLaunch" value="False"/>

    <!--Remove the .idw & .dgw extension from autocreated pdf file names-->

    <add key="DesignRepresentation.Naming" value="\.(idw)$/&lt;_name_&gt;/\.(dwg)$/&lt;_name_&gt;">

  </appSettings>

.......................................................................................................................

  

Would this be happening if I have made an error in the steps to create the Design Represention Lifecycle etc? (even though Im using R click > Create PDF, not the change in lifecycle?

(I haven't set the permissions to Modify for the Source File in the Released state...it makes me nervous to do this).

Thannkyou

Message 4 of 14
gandhey
in reply to: Anonymous

gandhey
Autodesk
Autodesk

Hello

 

No actually the security control should not matter here for the pdf naming.

You need to have only one line (setting) for the pdf naming in the config file. Also please check the text editor you are using - the editor may generate certain characters differently.

 

I just tried in the 2021 steam at my end and can see the file extension for the pdf created is dropped with the same setting.

 

regards,

Yogeshwar

(Vault team)

0 Likes

Hello

 

No actually the security control should not matter here for the pdf naming.

You need to have only one line (setting) for the pdf naming in the config file. Also please check the text editor you are using - the editor may generate certain characters differently.

 

I just tried in the 2021 steam at my end and can see the file extension for the pdf created is dropped with the same setting.

 

regards,

Yogeshwar

(Vault team)

Message 5 of 14
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

@gandhey Thankyou again. I am using Notepad as the editor. I re-typed the line to confirm it hasn't been pasted in. Ran it again - no luck

Just did a search to confirm there are no other lines for DesignRepresentation, Im not sure what else to check for, for other PDF naming lines? I am the first one to modify the config file.

I read if there are errors with the drawing file or fields not completed this can cause the default naming. Any thoughts there?

 

0 Likes

@gandhey Thankyou again. I am using Notepad as the editor. I re-typed the line to confirm it hasn't been pasted in. Ran it again - no luck

Just did a search to confirm there are no other lines for DesignRepresentation, Im not sure what else to check for, for other PDF naming lines? I am the first one to modify the config file.

I read if there are errors with the drawing file or fields not completed this can cause the default naming. Any thoughts there?

 

Message 6 of 14
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

@gandhey When I try to open the Job Processor I get this error:

The Application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

...................................................

Could this be causing the problem? The PDF's appear in the job queue so it appears to be working. (Just to confirm, I am trying to use R CLick> Create PDF from drawings that are at WIP & Released.)

Thankyou

0 Likes

@gandhey When I try to open the Job Processor I get this error:

The Application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

...................................................

Could this be causing the problem? The PDF's appear in the job queue so it appears to be working. (Just to confirm, I am trying to use R CLick> Create PDF from drawings that are at WIP & Released.)

Thankyou

Message 7 of 14
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

@CGBenner  did you have any thoughts on this? I'm really stuck. I realized other colleagues had Job Processors running on their machines so I've asked everyone to shut them down. The only one left is on mine. This still isn't working....Thankyou

0 Likes

@CGBenner  did you have any thoughts on this? I'm really stuck. I realized other colleagues had Job Processors running on their machines so I've asked everyone to shut them down. The only one left is on mine. This still isn't working....Thankyou

Message 8 of 14
CGBenner
in reply to: Anonymous

CGBenner
Community Manager
Community Manager

@Anonymous 

 

I'm afraid I have no experience in this area... I'm sorry you're having so much trouble.


Chris Benner
Industry Community Manager – Design & Manufacturing


If a response answers your question, please use  ACCEPT SOLUTION  to assist other users later.


Also be generous with Likes!  Thank you and enjoy!


Become an Autodesk Fusion Insider
Inventor/Beta Feedback Project
0 Likes

@Anonymous 

 

I'm afraid I have no experience in this area... I'm sorry you're having so much trouble.


Chris Benner
Industry Community Manager – Design & Manufacturing


If a response answers your question, please use  ACCEPT SOLUTION  to assist other users later.


Also be generous with Likes!  Thank you and enjoy!


Become an Autodesk Fusion Insider
Inventor/Beta Feedback Project
Message 9 of 14
Anonymous
in reply to: CGBenner

Anonymous
Not applicable

Thanks @gandhey I've followed the steps to switch back to the full version of Inventor to process jobs. I ran Create PDF again, had the same problem with file extension. Now I'm also getting an Unknown Status icon next to the new pdf. I've identified there are still some engineers possibly with Job processors running on their computers so I'm trying to get them all shut down. If that doesn't work I think I give up?

0 Likes

Thanks @gandhey I've followed the steps to switch back to the full version of Inventor to process jobs. I ran Create PDF again, had the same problem with file extension. Now I'm also getting an Unknown Status icon next to the new pdf. I've identified there are still some engineers possibly with Job processors running on their computers so I'm trying to get them all shut down. If that doesn't work I think I give up?

Message 10 of 14
gandhey
in reply to: Anonymous

gandhey
Autodesk
Autodesk

Hello,

 

The suggestion in the last article (for issue you were seeing on job processor start) was likely something wrong in the Jobprocessor.exe.config file. In the article using inventor application setting was just an example.

Now if the job processor is working properly - please add the same setting for dropping file name extension as suggested earlier also if you want the inventor server to create the Pdf then change the setting for Inventorapplication too.

You need to shut down the job processor, then modify the config file and then start the JP again.

 

Hope you are able to see the pdf creation to work as expected.

 

Regards,

Yogeshwar

(Vault team)

0 Likes

Hello,

 

The suggestion in the last article (for issue you were seeing on job processor start) was likely something wrong in the Jobprocessor.exe.config file. In the article using inventor application setting was just an example.

Now if the job processor is working properly - please add the same setting for dropping file name extension as suggested earlier also if you want the inventor server to create the Pdf then change the setting for Inventorapplication too.

You need to shut down the job processor, then modify the config file and then start the JP again.

 

Hope you are able to see the pdf creation to work as expected.

 

Regards,

Yogeshwar

(Vault team)

Message 11 of 14
Anonymous
in reply to: gandhey

Anonymous
Not applicable

@gandhey Still no good. Are you able to explain how this works? Where is the link from "DesignRepresentation.Naming" to the drawing file & its pdf creation? 

0 Likes

@gandhey Still no good. Are you able to explain how this works? Where is the link from "DesignRepresentation.Naming" to the drawing file & its pdf creation? 

Message 12 of 14
gandhey
in reply to: Anonymous

gandhey
Autodesk
Autodesk

Hello,

 

Sorry to hear that its still is not resolving your issue to drop the file extension in the pdf name.

Its actually straight forward setting. 

 

One last thing I can suggest you is to check the naming rule with some other criteria - to just confirm if the naming rule from config works or not. If other naming rule works then there is something incorrect in the pdf naming rule you are specifying. Otherwise your config file rules are not working at all.

 

At this point I suggest you to raise a request with product support for quicker assistance.

 

Regards,

Yogeshwar

(Vault team)

 

0 Likes

Hello,

 

Sorry to hear that its still is not resolving your issue to drop the file extension in the pdf name.

Its actually straight forward setting. 

 

One last thing I can suggest you is to check the naming rule with some other criteria - to just confirm if the naming rule from config works or not. If other naming rule works then there is something incorrect in the pdf naming rule you are specifying. Otherwise your config file rules are not working at all.

 

At this point I suggest you to raise a request with product support for quicker assistance.

 

Regards,

Yogeshwar

(Vault team)

 

Message 13 of 14
sniswongerSCT8K
in reply to: gandhey

sniswongerSCT8K
Participant
Participant

Is there an updated link?
This one is 404

0 Likes

Is there an updated link?
This one is 404

Message 14 of 14

sniswongerSCT8K
Participant
Participant
0 Likes

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report