top_prtfroment

top_prtfroment(entity: Entità | SelectionSet) --> Parte

Cerca la parte che contiene l'entita' <entity>. Ritorna la parte o nil.


Esempio 1. Esempio top_prtfroment

-- Richiede che l'entità sia aggregata alla parte con aggr() prima
local prt = top_ptop():find("BIELLA")
local ss  = selset.all()
prt:aggr(ss)
local trovata = top_prtfroment(ss:item(0))
if trovata then print("\nParte: " .. trovata:getName()) end

Created with the Personal Edition of HelpNDoc: Transform Your Documentation Workflow with HelpNDoc's Intuitive UI