I am using the NXOPEN C API to get the information about a Chamfer Mill, I can not find the parameter to ask the information about the Chamfer Length (C) in the API.
For example for tool dia we have in the API like
UF_CALL(UF_PARAM_ask_double_value(m_ToolTag, UF_PARAM_TL_DIAMETER, ¶mValue));
We need to have a similar for getting value of chamfer length in API (UF_PARAM_TL_XXXXXX). Which parameter could it be?
Thanking in anticipation,
Solved! Go to Solution.
For the newer tool types there will be no named parameter.
C and GRIP are not extended to fully support the new tools.
You have to use the new builders to get all the information available for a tool.
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk Testing: NX11.0 EAP, NX12.0 EAP
How to Get the Most from Your Signature in the Community
As @Stefan_Pendl said, since chamfer mill is a relatively new tool type, it is only available in .net. Attached is a vb boiler plate example to create the tool builder. I think you would need to add another level based on the Tool Subtype.
It is possible to query an object for its param indicies
as the others say there is no named param
Indice = 7357
Name = (null)
Type = UF_PARAM_TYPE_DOUBLE_LENGTH
Definition = Tool Chamfer Length
Status = UF_PARAM_OVERRIDDEN
Inherits From, CHAMFER_MILL
Default Value = 0
Current Value = 2