Cancel
Showing results for 
Search instead for 
Did you mean: 

file path in drawing table in NX

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hi,

there is any possibility to display path to the curent file in drawing table in draft in NX.
I know there is possibility to to that in Solidedge by attribute %{file name (full file path)}.
It is possible in NX? Are you able to recomend me some round around?

best regards
Lukasz

2 REPLIES 2

Re: file path in drawing table in NX

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi @lukipap ,

 

1. Create below expression in modeling.

 

filepath=first(mqc_askAssemblyStructure())

2. And add above expression in table cell using Edit Text.

 

Above expression will give you path + part name. To get just path, use below formula for expression -

 

subString(first(mqc_askAssemblyStructure()),0,Length(first(mqc_askAssemblyStructure()))-Length(ug_askCurrentWorkPart())-1)

 

(view in My Videos)
 

Regards,
Samadhan

GTAC | NX Help: NX1102 | NX1202 | NX1847
Please mark post as an "Accepted Solution", if it answers your question/is more helpful!

Re: file path in drawing table in NX

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor
Thank you man! It is exactly what I need Smiley Happy