Hi guys,
attachment contains:
Journal measures body(s), component(s) or body(s) and component(s) mass
then create part attribute MASA with relationship to mass expression as string
Please try it and leave comment.
It works perfectly, but...
When it inserts image, journal changes the size (or scale) of the picture. In format A4 it's ok, but in A3, A2 it's 2 times bigger. (Or mayby in A4 is 2 times smaller)
I am also wonder if its possible to define image size and image name during inserting image into...
I'm trying to make journal to export spreadsheet to Excel (Right mouse button in Assembly Navigator and then export to spreadsheet). With journal I want to make some corrections in spreadsheet and then save the spreadsheet file, close excel and come back to NX.
I made something similar, I could...
Hi guys,
my code get err in line 3 with spreadsheet_name
Dim ufs As UFSession = UFSession.GetUFSession()
Dim spreadsheet_name As String
ufs.XS.ExtractSpreadsheet(spreadsheet_name, "C:\test.xlsx")
from NXOPEN .Net Api
int UF_XS_extract_spreadsheet
(
char * spreadsheet_name,
char *...
Hi guys,
yep anything with tables is not recorded. So I've got question how to sort table by journal? Or how I can get all functions assigned to "ufs.Plist"? I know NXOpen API Reference... but where exactly?
Hi guys,
I measured body with "Analysis > Measure Bodies" and after that appeared new position in "Part Navigator" called Body Measurement.
For different parts "Body.volume" have diffrent expresions (for ex. "p13", "p101", "p45").
Is it possible to automaticly assign parameter value...
Hi guys,
I'm searching for journal solution to export columns from Assembly Navigator to Excel. I want to have this in one button.
I was trying this, but this don't want to work
Public excelApp As Excel.Application
Public excelBook As Excel.Workbook
Public excelSheet As...
I'm writting a VB journal and I need to get list of all parts and subassemblies (with subassemblies parts) in array.
Mayby sth with Public Class AssemblyManager?
Any help?
hi,
i'm trying (with no success) to get user name by journal(vb) and put it in part attributes
i figure out how to change part attributes (it's sth like this)
theSession.Parts.Work.SetAttribute("AUTHOR", user_name)
but how i can get user name?
Now I'm trying to export (in one move) all drawings to pdfs from assembly.
Simplyfied assembly structure:
Main_Assembly.prt
1st_Part.prt
2nd_Part.prt
Sub_Assembly.prt
1st_SAPart.prt
2nd_SAPart.prt
3rd_Part.prt
And I want to get pdf with the same structure:
Main_Assembly.pdf
1st_Part.pdf...
That was fun. I've made this. It copy the previous version of pdf file to C:\ARCH\
Do we archive the archive files? If change was made today, script delete's the previous archive file. (line 48)
are you sure you want to tack on today's date to the previous file? yes
Hi,
I'm using legendary :) Cowski journal (attached). Excelent job btw.
I have question how to add solution which i find useful:
when I export pdf file, but pdf file with that name exist, it should change file name to pdf_file_name(today_date).pdf, and then write pdf_file_name.pdf .
Any ideas ?