Variable Radius Macro
Variable Radius Macro
(OP)
Hi Guys,
I'm working in 7.0 (7.5 as soon as I find the time to install). I have a part that needs lots of individual blended radii that are variable. I can do them one at a time but it's going to take a long time and is quite tedious. This seems like a place for a macro. Before I reinvent the wheel, has anyone created something like this? I'ld like to be able to pick an edge and have NX automatically put X size radius at one end and Y size radius at the other end. This is a fairly common operation for the types of parts we make.
Thanks,
JohnK
I'm working in 7.0 (7.5 as soon as I find the time to install). I have a part that needs lots of individual blended radii that are variable. I can do them one at a time but it's going to take a long time and is quite tedious. This seems like a place for a macro. Before I reinvent the wheel, has anyone created something like this? I'ld like to be able to pick an edge and have NX automatically put X size radius at one end and Y size radius at the other end. This is a fairly common operation for the types of parts we make.
Thanks,
JohnK





RE: Variable Radius Macro
For example, in the journal you recored you will find commands like these to set the variable radius points:
Dim vrIndex1 As Integer
vrIndex1 = edgeBlendBuilder1.AddVariableRadiusDataNew(edge1, "86.0213654142479", "15", nullPoint, False, False)
Dim vrIndex2 As Integer
vrIndex2 = edgeBlendBuilder1.AddVariableRadiusDataNew(edge1, "33.9512213112124", "7", nullPoint, False, False)
Dim vrIndex3 As Integer
vrIndex3 = edgeBlendBuilder1.AddVariableRadiusDataNew(edge1, "100", "10", nullPoint, False, False)
Dim vrIndex4 As Integer
vrIndex4 = edgeBlendBuilder1.AddVariableRadiusDataNew(edge1, "0", "10", nullPoint, False, False)
Mark Rief
Product Manager
Siemens PLM
RE: Variable Radius Macro
I've done a little work in .NET on occasion and I see a few examples on this site that should help. Do you know where I can find some documentation on the functions and procedures that NX has built-in? I looked on GTAC but I don't see anything. I can see where the journal capabilities can be really helpful.
Thanks,
JohnK
RE: Variable Radius Macro
Automation --> NX Open --> Open for .NET
Mark Rief
Product Manager
Siemens PLM
RE: Variable Radius Macro
Thanks,
John
RE: Variable Radius Macro
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: Variable Radius Macro
John
RE: Variable Radius Macro
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.