Products

Home Forums Guillaume Finance

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 52 total)
  • Author
    Posts
  • in reply to: eaXL set default columns #8476
    Guillaume Finance
    Participant

    You should be able to achieve this by saving your Excel file. It can reused with the selection of columns using “eaXL > Open existing” eaDocX menu.
    Then simply run an EA export to Excel from the selected package or element in your EA project browser.

    in reply to: Excel export: Tagged Values no longer available #8444
    Guillaume Finance
    Participant

    Interesting..
    I don’t have access to an older version of eaDocX to check, however this seems to be an issue to be resolved for a future release.

    in reply to: here is a ‘fix’ for excel 2013 not docking #8480
    Guillaume Finance
    Participant

    Hi Gary,

    It looks interesting. Could you please provide a quick guidance on how to use this script? Does it have to be copied to each Excel doc that’s used, or only once in Excel?
    Is it easy to remove this code when it is no longer needed?

    Thanks

    in reply to: Excel key column (export attributes) #8497
    Guillaume Finance
    Participant

    It can be very useful with data models. Thanks ! 🙂

    in reply to: Excel key column (export attributes) #8495
    Guillaume Finance
    Participant

    I did it but I cannot find any Key column in the t_attribute table. Do you know the matching EA DB column for this Key? Once identified, I will indeed use the very good Inside EA ebook.

    in reply to: Excel export: Tagged Values no longer available #8441
    Guillaume Finance
    Participant

    As an I update, I also found out that attributes Tagged Values aren’t listed in the Columns list.
    I don’t think this was supported but it may be worth supporting them. If I add them in Excel and update the eaXLProfile hidden content, tagged values are updated ok via Excel (import/export).

    Note that attributes TV are visible from t_attributetag.

    I also noticed that exporting data from EA takes a while to run, even with a local EAP file. Is there any impact from the latest build on the performance?

    in reply to: Excel export: Tagged Values no longer available #8440
    Guillaume Finance
    Participant

    Hi,

    I have elements stereotyped with an installed profile where the TV is populated.
    I can find the tagged values from t_objectproperties table (alongside other properties…)

    could you please confirm the field that you use to populate the column list? (I’m not sure what you mean by t_objectTaggedValues). Perhaps I can find a workaround with this information.

    thanks!

    in reply to: Excel export: Tagged Values no longer available #8438
    Guillaume Finance
    Participant

    It applies to tagged values that belong to a UML profile (included or not in a MDG).
    I’ll email an EA example to support@eadocx.com.

    in reply to: Sort RTM requirements by order in Sparx #8434
    Guillaume Finance
    Participant

    Hi Doug,

    If you apply a manual sorting order to your package, you may want to check my eaUtils free addin for Sparx EA. It provides a range of sorting features including sorting requirements in a package by alias, stereotype, etc.

    This addin is available to download from http://www.eautils.com

    Guillaume

    in reply to: clear word doc to use in a different repository #8450
    Guillaume Finance
    Participant

    thanks. I confirm that once I’ve acknowledged the warning and saved the doc in the new repository, any subsequent access no longer leads to the warning message.

    in reply to: Sorting options for a diagram content #8402
    Guillaume Finance
    Participant

    I’m happy to report that I found a solution and got my script to work.
    I need to carry additional tests and will share results once possible.

    in reply to: Sorting options for a diagram content #8401
    Guillaume Finance
    Participant

    Note that I tried to sort elements from the array of guids received.
    I have a Sort Dictionary VB function that worked well for other scripts, yet it generates an error message.

    Here is an extract of my script :

    [code]
    !INC Local Scripts.EAConstants-VBScriptsub SortDictionary (objDict)
    ‘ constants
    Const dictKey = 1
    Const dictItem = 2
    ‘ variables
    Dim strDict()
    Dim objKey
    Dim strKey,strItem
    Dim X,Y,Z
    ‘ get the dictionary count
    Z = objDict.Count
    ‘ sorting needs more than one item
    If Z > 1 Then
    ‘ create an array to store dictionary information
    ReDim strDict(Z,2)
    X = 0
    ‘ populate the string array
    For Each objKey In objDict
    strDict(X,dictKey) = CStr(objKey)
    strDict(X,dictItem) = CStr(objDict(objKey))
    X = X + 1
    Next
    ‘ perform a a shell sort of the string array
    For X = 0 To (Z – 2)
    For Y = X To (Z – 1)
    If StrComp(strDict(X,1),strDict(Y,1),vbTextCompare) > 0 Then
    strKey = strDict(X,dictKey)
    strItem = strDict(X,dictItem)
    strDict(X,dictKey) = strDict(Y,dictKey)
    strDict(X,dictItem) = strDict(Y,dictItem)
    strDict(Y,dictKey) = strKey
    strDict(Y,dictItem) = strItem
    End If
    Next
    Next
    ‘ erase the contents of the dictionary object
    objDict.RemoveAll
    ‘ repopulate the dictionary with the sorted information
    For X = 0 To (Z – 1)
    objDict.Add strDict(X,dictKey), strDict(X,dictItem)
    Next
    end if
    end sub

    function exporteaDocX
    ELEMGUIDS = ElementGuid.ToString()
    ‘slit them up into individual GUIDs for processing below
    Guids = Split(ELEMGUIDS , “,”)
    dim diagElements
    set diagElements = CreateObject( “Scripting.Dictionary” )
    dim theElement as EA.Element
    dim theAttribute as EA.Attribute

    For i = LBound(Guids) to UBound(Guids) ‘ do this for each GUID in the list
    set theElement = Repository.GetElementByGuid(Guids(i))
    diagElements.Add theElement.Name, theElement.ElementGUID
    next
    SortDictionary diagElements
    dim outputHTML…
    [/code]

    in reply to: EA Script error #8357
    Guillaume Finance
    Participant

    Quick update: I updated eaDocX to the latest version (3.7.5.4) and scripts now work ok.
    Scripts are great for users who have specific requirements.

    in reply to: EA Script error #8356
    Guillaume Finance
    Participant

    Hi,

    Looking at the thread here, I downloaded and installed the Windows Script Control from here but it hasn’t resolved the issue.

    in reply to: Remove pink from document #8329
    Guillaume Finance
    Participant

    You can achieve this with eaDocx menu > Tools > Hide section marks

Viewing 15 posts - 16 through 30 (of 52 total)

Compare licence prices

Choose the licence that’s right for you and your team

Prices

Download a free trial

Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.

Download