No i dont get any error when i do them manually .Meaning add parent ,add component or create new components doesn't give me any problem .Please find the attached image the error i get.
May i know why piece parts are added into the code.
Please suggest...
Hello Joe
Please find the attached image.
Enforced Piece Part is greyed in my case .I am unable to nither turn it on nor turn it off.
They are my default settings.We have certain requirements to use the same template.
Please suggest.
Thanks
Hey Joe
Thanks for your effort.
The folder is in Desktop ,so there are no issues with that.The issue is with the Template file.That i had changed now .
Dim fileNew1 As FileNew
fileNew1 = theSession.Parts.FileNew()
'change template as necessary
fileNew1.TemplateFileName = [highlight...
Hi
The error attachment is here.
I really doesn't know how to .commit()or .validate()this. I have seen your earlier post try the above.
Please modify the code for me.
If needed i will avail you with additional...
thread561-350926
Hi
i am using the same code to create a assembly file with sub-parts/sub assembly .The error i get attached below.
This returns NXOpen.NXExcelption :The selected template doesn't exixts.
I had even run your code for getting templetes for your earlier post and the code is below...