prolynx
Mechanical
- Sep 9, 2005
- 29
Hello,
Does anyone know why the macro to create the titleblock given by default doesn't work properly with the mass of sheetmetal parts ?
Below if the part of the macro concerned, and if the part is a sheetmetal, then the results is always 0.00 kg.
Set ProductAnalysis = ProductDrawn.Analyze
DrwTexts.GetItem("TitleBlock_Text_Weight_1").Text = FormatNumber(ProductAnalysis.Mass,2)
My guess is that when sheetmetal is applied on the part, then the mass is defined somewhere else (not in ProductAnalysis.Mass anymore) but I don't really know.
Any help ?
Does anyone know why the macro to create the titleblock given by default doesn't work properly with the mass of sheetmetal parts ?
Below if the part of the macro concerned, and if the part is a sheetmetal, then the results is always 0.00 kg.
Set ProductAnalysis = ProductDrawn.Analyze
DrwTexts.GetItem("TitleBlock_Text_Weight_1").Text = FormatNumber(ProductAnalysis.Mass,2)
My guess is that when sheetmetal is applied on the part, then the mass is defined somewhere else (not in ProductAnalysis.Mass anymore) but I don't really know.
Any help ?