Hi all,
I am looking for guidance from anyone that's willing to answer/has experience with this. For some context, I have a program running where part of it's purpose is to pull assembly labels from components in drafting, and that labels string value is encoded from the component's specific...
Hey Cowski - thanks for the help.
My application runs by looping through certain components, pulling info from that component and presenting it in a windows form, and finally letting the user alter that info before submitting(closing) the window.
This worked well with ShowDialog - it locked...
Hello all,
I am building a program that involves the use of a windows form. How I currently have it built out - the program goes through specific component one by one and pops open a windows form to fill out for attributes and other things. I've looked around the web and most people recommend...
Thanks Cowski.
Thinking the process out more, the user would need to remain in the assembly while applying the attributes.
Briefly Put:
- User applies to component on assembly
- This needs to pass down and be shown on the component's parent (unit)
Where I'm running in to trouble - Synchronize...
Thanks for the reply Cowski.
I've went ahead and tried this - both on going inside the unit and applying, as well as applying on assembly level. The issue is it doesn't persist if you save - close out & reopen. I had also noticed it applies that attribute to all the same component in the...
Evening all,
Quick run through of my issue at hand:
I have a Tool - That tool has Units - Those Units have specific components
Program I'm writing processes through components on the assembly level & prompts user input to apply attribute to the component.
It applies to the component on...
.Bodies is currently what I'm running to grab all the solid bodies, poor debugging had me believing this was the issue. Looking into this made me catch the error however, thanks.
Cowski,
I am able to get what I need perfectly, beside one main issue:
Some standard components in our libraries have features tied to them. This seems to not be able to grab the bodies when im processing the component because they're not considered dumb bodies but rather 'Extrusions' for...
Hello all,
I'm working on a program that sifts through all components > all bodies in components > all faces in bodies > ending with grabbing all holes in the model.
I wanted to get the Coordinates of each hole, with my initial take being to use AskFaceData and grabbing the point coordinates...
Hello,
I'm trying to run SOL 103 Response Dynamics Solution, but I'm failing to understand how I can test a specific frequency. In my case, I'm looking to test for 10Hz. How/where can I set the solution to test for 10Hz?
Thanks
For anyone taking a look at this, I seem to have fixed the issue incase someone's having a similar problem. However, I'm unsure if it's going to cause any complications or not.
I revised line 105 from:
MyPart = CType(theSession.Parts.FindObject(theComponent.displayName), NXOpen.Part)
To...
Looking for any help here on this..
The code I have runs great in Native application of NX, but when ran in TeamCenter it errors out.
Quick run down of the code - it allows me to select a component, which then creates an attribute and let's you manually type in the value for that attribute...
Cowski,
Perhaps you could give some of your expertise..
My program seems to work pretty well except on Counterbores.
The way I have it ran is, select cylindrical face - Ask adjacent faces - if both adjacent faces are bounded plane then don't attribute as counterbore
If one of the adjacent...
Thanks for the quick reply Cowski I very much appreciate it!
I am using dumb body. AskAdjacFaces could very well do the trick, I'm going to dig in to it.. To my understanding I could write something along the lines of:
If found adjacent planar/conical face then
grab depth of hole & apply to...
Evening,
I have a Journal that applies attributes to all cylindrical faces in a body according to their hole sizes(reads radius).
Using AskBoundingBoxExact I'm able to grab the depth of holes. However, one thing I can't seem to figure out is how I would determine if the cylindrical face runs...
Hello all,
Looking for some guidance on my journal. The purpose of this journal is to take an assembly, and save as all components & assembly file to specific numbers in a new folder being pulled from an excel sheet. I have this working correctly, however instead of doing a save as to each of...