Kubotek Forum

KeyCreator CAD & CKD Viewer Technical discussion of CAD/CAM and integrated partner products
Customer Forum > KeyCreator CAD & CKD Viewer > BOM with solids contained in Internal References View modes: 
User avatar
Advanced member
Advanced member
Soli - 12/5/2022 1:34:12 AM
   
BOM with solids contained in Internal References
Usually, my design contains internal references.
Every reference has his BOM and assembly file has
a BOM contains the names of solids belong the assembly and the name of internal references.
If the file is not to large, I would like to make a single BOM
in the assembly file, contains the names of all solids, either from assembly or
from references.
The problem is, when I build the BOM, I can select solids belong the internal referenes.
(althouth the solids in reference are selectable when I check the properties or weigth)
 
Kubotek, can you help me to solve this problem?
Thanks,
Solomon Steinberg,
Israel

DELL OPTIPLEX 7050
NVIDIA QUADRO P2000
KEYCREATOR 13.5
KEYCREATOR 2023 SP0



User avatar
Advanced member
Advanced member
wkrol@kubotek3d.com - 12/5/2022 3:23:24 PM
   
RE:BOM with solids contained in Internal References
Can you send me a small example of the file structure with the internal assembly?  Are the internal references  behaving like sub-assemblies?

-Wes
wkrol@kubotekkosmos.com


User avatar
Advanced member
Advanced member
Soli - 12/6/2022 12:39:01 AM
   
RE:BOM with solids contained in Internal References
I attached one file, SAMPLE FOR BOM.CKD done according to
my ussual assembly structure.
The second file SAMPLE FOR BOM BURSTED.CKD I took the
first file and I bursted the internal references in order to get
the BOM that I want to do if I could select the solids found
in the reference.
I attached a ZIP file contains the templates BOM  used in these files.
Solomon Steinberg,
Israel

DELL OPTIPLEX 7050
NVIDIA QUADRO P2000
KEYCREATOR 13.5
KEYCREATOR 2023 SP0



User avatar
Advanced member
Advanced member
wkrol@kubotek3d.com - 12/7/2022 3:35:40 PM
   
RE:BOM with solids contained in Internal References
Currently BOM takes solids or Part References but not the solids within a Part Reference.  I have logged your enhancement request. 

User avatar
Advanced member
Advanced member
Soli - 12/8/2022 12:03:59 AM
   
RE:BOM with solids contained in Internal References
Thank you, Wes

Please add the Fastenes within Part Reference, too.
Solomon Steinberg,
Israel

DELL OPTIPLEX 7050
NVIDIA QUADRO P2000
KEYCREATOR 13.5
KEYCREATOR 2023 SP0



User avatar
Advanced member
Advanced member
Soli - 12/8/2022 12:21:20 AM
   
RE:BOM with solids contained in Internal References
I meant Fasteners.
Solomon Steinberg,
Israel

DELL OPTIPLEX 7050
NVIDIA QUADRO P2000
KEYCREATOR 13.5
KEYCREATOR 2023 SP0



User avatar
Advanced member
Advanced member
Soli - 2/8/2023 1:24:41 PM
   
RE:BOM with solids contained in Internal References
Wes, Hello,
I hope you will find the solution to solve my problem.

My customer asks, additional to assembly drawings, to give him pictures
with the number and the name of components.
Till now I can't do this if the components belong to an internal reference part.
I found that the KXL function GetEnt can access the entities in the reference
part if bSelRefEnts = 1.
Here is the macro to create a Label in the assembly file and to find the Entity name
($csName) of components in the reference part.
--------------------------------------------------------------------------------------
:start
 
clear hEnt
HENTITY hEnt
 
MASKINVERSE 0
MASKENTITY 0, 32 ,34 ,35 ,36
 
int nSelFlag = 0
Int  nSelParent = 1
Int  bSelRefEnts = 1
Int  bAccept = 1
bActiveInstFlag = 1
GetEnt "Select standard component", hEnt,  , nSelFlag, nSelParent, bSelRefEnts,  , bAccept, bActiveInstFlag 
 
if (@key == -3)
MASKCLEAR
if (@key == -3)
MASKMAINTAIN 0
if (@key == -3)
EXIT
 
clear $$acsStandard , $$acsUser , $standard_name
SList  $$acsStandard
SList  $$acsUser
string $csName
 
GetEntityProperties hEnt , $csName , $$acsStandard , $$acsUser
notestate
 
// Begin Macro Record
// This Macro is intended to be a Macro Script
 
MASKCLEAR
 
// (0xA1C6) Create a label
Clear arrow_loc
HLocation arrow_loc
CLEAR  dLocX1, dLocY1, dLocZ1
DOUBLE dLocX1, dLocY1, dLocZ1
 
//arrow_point
GETPOS "Select the arrow position", 0 , arrow_loc
if (@key == -3)
exit
LOCATIONCOORD arrow_loc, dLocX1, dLocY1, dLocZ1
worldtocplane dLocX1, dLocY1, dLocZ1
//balon point
Clear hTextLoc
HLocation hTextLoc
CLEAR  dLocX2, dLocY2, dLocZ2
DOUBLE dLocX2, dLocY2, dLocZ2
 
GETPOS "Select the Label position", 0 , hTextLoc
if (@key == -3)
exit
LOCATIONCOORD hTextLoc, dLocX2, dLocY2, dLocZ2
worldtocplane dLocX2, dLocY2, dLocZ2
 
CLEAR hLabel
HENTITY hLabel
LABEL $csName, 2  ,   ,   ,   ,   ,   , hTextLoc
notestate
LASTENT hLabel
if(!IsValid(hLabel))
exit
 
ADDLABELLDR hLabel, , , , , arrow_loc
notestate
MASKCLEAR
MASKMAINTAIN 0
goto start
-----------------------------------------------------------------------------------------

In the attached picture, all components belong to an internal reference.
The labels shown the Entity name of the components


 
Post attachments:
Solomon Steinberg,
Israel

DELL OPTIPLEX 7050
NVIDIA QUADRO P2000
KEYCREATOR 13.5
KEYCREATOR 2023 SP0



1
Login