Itemcode Based on Bolt legth

 
  • Dear all,

    I have Itemcode (:MESC1 :MESC2 :MESC3 and etc. based on the bolt legth. Please have a look below for details. In isometric it is coming ok.
    How to extract this in Isodraft boltreport ?. I hope this expert advice.

    Name /SBBJ-DEPC-ABE
    Type SBOL
    Lock false
    Owner /#150.STUD.STDDEPC.ABE
    Nstdblength /5/8/L7-DEPC-ABE
    Bdiameter ( 15.88 )
    Length 90mm
    Noff 4
    Xtralength 0mm
    Bitems unset
    Bitlength unset

    /5/8/L7-DEPC-ABE
    Q ATT
    Attributes
    Name /5/8/L7-DEPC-ABE
    Type DTAB
    Lock false
    Owner /LTAB-L7-DEPC-ABE
    Blength (80mm 90mm 100mm 110mm 120mm 130mm 150mm 160mm
    170mm )
    :MESC1 X 81.38.15.075.1 81.38.15.077.1 81.38.15.079.1 81.38.15.079.1
    :MESC2 X X X X
    :MESC3 unset
    :MESC4 unset
    :MESC5 unset
    :MESC6 unset
  • My opion, you list MESC in 1 line (:MESC1) sequently for 9 no in the Blength
    i.e: 80mm   -> x
        90mm   -> 81.38.15.075.1
        100mm -> 81.38.15.077.1
        ....
    then, MESC for bolting will come out in Isome
    (with your settings for Bolt/Nut in Isome-Option-File refer to UDA)
  • If you are getting correct item code in isometrics, then you should be getting them in Bolt report also. Make sure that you have same options settings for bolt reporting.
  • Dear experts,
    I try to do the same thing to see bolt item codes on ISO, but doesn't appear. Please help.
    I have a SPCO with UDA :ABBCODE










    q att


    Attributes
    Name /J8/ALV1R00JJ
    Type SPCO
    Lock false
    Owner SELEC 1 of SELEC 5 of SELEC 1 of SELEC 1 of SELEC /J8/VALV
    MatPurpose unset
    Matref Nulref
    Answer 0
    Maxanswer 0
    Catref /ALV1R00JJ
    Detref /ALV1R00-SDTE
    Matxt Nulref
    Cmpref /131KG-P
    Bltref /API-5000-FLG-2
    Prtreference Nulref
    Tmpref Nulref
    Pdareference Nulref
    Icon unset
    Tanswer FALS
    Comment unset
    Dpfname unset
    Symgroup unset
    Symname unset
    :EEPartNo unset
    :VD C
    :CSTATUS A
    :CDATE unset
    :CSIGN unset
    :ITEMCODE unset
    :EDGMATCODE 0000000000
    :VENMATCODE 0000000000
    :ESCUT unset
    :ITEMCODE unset
    :UWEIGHT unset
    :IDENT unset
    :ABBCODE  Testing
    :CLTCODE unset
    :SHORTDES1 unset
    :SHORTDES2 unset
    :FULLDES1 unset
    :FULLDES2 unset
    :SPECREV unset
    :SHORTCODE unset
    :OPTIONCODE unset
    :MARSIZE1 unset
    :MARSIZE2 unset
    :MARSIZE3 unset
    :MARSIZE4 unset
    :MARSIZE5 unset
    :SYMSPEC unset
    :SYMSIZE1 unset
    :SYMSIZE2 unset
    :STDREF unset
    :FOREIGN1 unset
    :FOREIGN2 unset
    :FOREIGN3 unset
    :HSRE unset
    :TESTWITH unset

    Then I go BLTRF /API-5000-FLG-2











    q att


    Attributes
    Name /API-5000-FLG-2
    Type SBOL
    Lock false
    Owner /API-5000-FLG
    Nstdblength /API-FLG-5000-NSTD-2
    Bdiameter ( 0.875 in )
    Length 165.1mm
    Noff 8
    Xtralength 0mm
    Bitems unset
    Bitlength unset
    Bltweight 0
    :CSTATUS A
    :CDATE unset
    :CSIGN unset
    :Input-by Unknown
    :CHECKED Unknown

    Then go to DTAB and put a item code for :ABBCODE1











    q att


    Attributes
    Name /API-FLG-5000-NSTD-2
    Type DTAB
    Lock false
    Owner /API-FLG-5000-NSTD
    Blength (152.4mm )
    Bweight unset
    :Input-by Unknown
    :CHECKED Unknown
    :ITEMCODE unset
    :ABBCODE1 66666666
    :ABBCODE2 unset
    :ABBCODE3 unset
    :ABBCODE4 unset
    :ABBCODE5 unset
    :ABBCODE6 unset
    :ABBCODE7 unset
    :ABBCODE8 unset
    :ABBCODE9 unset
    :ABBCODE10 unset
    :ABBCODE11 unset
    :ABBCODE12 unset
    :ABBCODE13 unset
    :ABBCODE14 unset
    :ABBCODE15 unset
    :ABBCODE16 sos
    :ABBCODE17 unset
    :ABBCODE18 unset
    :ABBCODE19 unset
    :ABBCODE20 unset
    :ABBCODE21 unset
    :ABBCODE22 unset
    :ABBCODE23 unset
    :ABBCODE24 unset
    :ABBCODE25 unset
    :CLTCODE1 unset
    :CLTCODE2 unset
    :CLTCODE3 unset

    I think this is what i should do, but still I can't see ABBCODE itemcode on ISO for bolts.
  • It is rather obvious, the bolt length selected (165.1) is longer than the avaliable length (152.4).  Suggestion - on DTAB, set a range of BLEN (152.4 170, 190).  And :ABBCODE will have 3 other values (66666666 66666667 66666668) example.  It will refere to the sequencial length in the same order.  Please try that and respond please.

    nerdy..
  • hi nerby. Thank you for you answer. Before I do an example can you clarify for me please:

    1. we have a SPCO with a ref to SBOL element, where we put diameter and reference to NSTD array with available lenghts for this diameter. Coorect or not?
    2. when PDMS calculates lenght of bolt, it compares with avalibable lenght form NSTD and takes nearest bigger. (Am I right or not ?)
    3. If so, why we put by hand in element SBOL  attrib [COLOR=#333333]Length 165.1mm?[/COLOR]
  • reply 1.  You may set SBOL LENGTH to 0 and BDIA to 0
    reply 2.  It will take which ever is larger
    reply 3. you have to set it and try it to see the result.

    You will find out why.

    nerdy..
  • nerby, really works. Big thanks! I just found description why we have to add lenght in BLEN of SBOL element.
    That was OLD boltin method. I will have to ubderstand how NEW bolting methid works also:) Bolts will drive me crazy.
  • Recently the value has been increased up to 500...
  • UDA string is limited.  If UDA is used to get the ITEM CODE for different length, you need to populate them in a sequential fashion of the UDA, in your example:

    :ABBCODE1 66666666
    :ABBCODE2 unset
    :ABBCODE3 unset
    :ABBCODE4 unset

    This will happen when you work on Shell projects that used MESC numbers.