COMPONENT GET TYPE Num;Type,[Err]
|
Cette instruction retourne le type de l'entité composant spécifié.
Si l'entité n'est pas un composant une erreur est retournée.
Paramètre d'entrée
Num
|
:
|
Numéro de l'entité du dessin
|
Paramètres de sortie
Type
|
:
|
Type du composant
|
|
|
Constante
|
Valeur
|
Description
|
#VIS
|
435
|
Composant vis
|
#GOUPILLE
|
436
|
Composant goupille
|
#TENON
|
437
|
Composant tenon
|
#BARETTE
|
438
|
Composant barrette
|
#PIVOT
|
468
|
Composant pivot
|
#BOUCHON
|
470
|
Composant bouchon
|
#PIERRE
|
479
|
Composant pierre
|
#GEAR
|
480
|
Composant engrenage
|
#DIAMANT
|
494
|
Composant diamant
|
#CAME
|
575
|
Composant came
|
#AIGUILLE
|
607
|
Composant aiguille
|
#GUILLOCHAGE
|
716
|
Composant guillochage
|
#INDEX
|
750
|
Composant index
|
#IGEAR
|
783
|
Composant engrenage intérieur
|
#GUICHET
|
787
|
Composant guichet
|
#TENON_EXC
|
791
|
Composant tenon excentre
|
#INCABLOC
|
618
|
Composant amortisseur de chocs
|
#PIGNON_COUL
|
289
|
Composant pignon coulant
|
#USER
|
699
|
Composant utilisateur
|
#ENTRETOISE
|
700
|
Composant entretoise
|
#CELEV
|
1482
|
Composant élévation
|
#CREVOL
|
1483
|
Composant révolution
|
|
Err
|
:
|
Numéro de l'erreur
|
|
|
0 = Lecture du type de composant sans erreur
|
|
|
64 = Valeur fausse ou hors limites
|
Rubriques connexes
COMPONENT GET COLOR, COMPONENT GET DESC, COMPONENT GET FILL, COMPONENT GET HATCH, COMPONENT GET MATERIAL, COMPONENT GET NB, COMPONENT GET PAR, COMPONENT GET PEN, COMPONENT SET COLOR, COMPONENT SET FILL, COMPONENT SET HATCH, COMPONENT SET MATERIAL, COMPONENT SET PAR, COMPONENT SET PEN, COMPONENT UPDATE
|