Licad4Acad - Manual

download Licad4Acad - Manual

of 40

Transcript of Licad4Acad - Manual

  • 7/27/2019 Licad4Acad - Manual

    1/40

    LISEGA SE V 9.3.0

    LICAD plug-in

    for

    AutoCAD

  • 7/27/2019 Licad4Acad - Manual

    2/40

  • 7/27/2019 Licad4Acad - Manual

    3/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 i

    ContentsSystem requirements .............................................................................................................................. 1

    Available versions of the LISEGA plug-ins ............................................................................................... 1

    Installation ............................................................................................................................................... 1

    Configuration via XML files ...................................................................................................................... 2

    LicadPlugInCommonSettings.XML ....................................................................................................... 2

    LicadPlugInUserSettings.XML .............................................................................................................. 2

    Loading (Starting) the Plug-ins ................................................................................................................ 2

    Insertion of LISEGA supports ................................................................................................................... 4

    Variant 1: ............................................................................................................................................. 4

    Configurations available ................................................................................................................ 10

    Variant 2: Import of L3D files ............................................................................................................ 12

    Deleting supports .................................................................................................................................. 13

    Commands available ............................................................................................................................. 13

    LISET .................................................................................................................................................. 13

    LIDB .................................................................................................................................................... 15

    LIPART ................................................................................................................................................ 15

    LICAD, LICAD1, LICAD2, LICAD3, LICAD4, LICAD5 & LICADMOD ....................................................... 15

    L3DIMP bzw. -L3DIMP ....................................................................................................................... 15

    REG .................................................................................................................................................... 16

    UNREG ............................................................................................................................................... 16

    Attachment ............................................................................................................................................ 17

    LICAD Creation of a support ........................................................................................................... 17

    LICAD Export of a support as an L3D file ....................................................................................... 21

    AutoCAD menu extension, tool box and ribbon for plug-in .............................................................. 23

    AutoCAD tool palette for the plug-in ................................................................................................ 26

    Add tool palette ............................................................................................................................. 26

    Use of the plug-in in the network ..................................................................................................... 30

    Adaptation of the local intranet zone ........................................................................................... 30

    Altering zone allocation ................................................................................................................. 31

    Index ...................................................................................................................................................... 35

  • 7/27/2019 Licad4Acad - Manual

    4/40

  • 7/27/2019 Licad4Acad - Manual

    5/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 1

    System requirements- Windows XP or higher- NET Framework 3.5 (2.0), 4.0 since AutoCAD 2013- AutoCAD from Version 2006 for Licad4Acad- LICAD Version 9.3 (Instructions on downloading and installation can be found in the

    attachment)

    The 32-bit as well as the 64-bit versions of AutoCAD / AutoCAD Plant 3D are supported.

    IMPORTANT: The above requirements must be fulfilled, above all with regard to LICAD!

    Available versions of the LISEGA plug-insLicad4Acad_V16 (for AutoCAD 2006 )

    Licad4Acad_V17 (for AutoCAD 2007, 2008 & 2009 )Licad4Acad_V18 (for AutoCAD 2010, 2011 & 2012 )

    Licad4Acad_V19 (for AutoCAD 2013 & 2014)

    InstallationUnpack the ZIP file and read the documentation contained in it before installation. This manual and a

    possibly ReadMe file are located directly in the ZIP file, so that the information is already available

    before installation.

    For the actual installation start the installation program from the relevant directory for the 32 or 64

    bit version. For the 64 bit version of AutoCAD you must start the 64 bit version. For the 32 bit version

    of AutoCAD, start the 32 bit version.

    After starting the installation program follow the instructions there.

    The following directories are used by the installation program as standard:

    Windows 7:

    AutoCAD Plug-ins and manual: C:\Program Files\LISEGA\Licad4Acad

    Database file: C:\ProgramData\LISEGA\Licad4Acad\db

    Windows XP:

    AutoCAD Plug-ins and manual: C:\Programs\LISEGA\Licad4Acad

    Database file: C:\Documents and settings\All Users\

    Application data\Licad4Acad\db

  • 7/27/2019 Licad4Acad - Manual

    6/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 2

    Configuration via XML filesThe two configuration files (LicadPlugInCommonSettings.XML, LicadPlugInUserSettings.XML) can be

    found according to the version in the corresponding subdirectory.

    Subdirectories:

    Licad4Acad_V16,

    Licad4Acad_V17,

    Licad4Acad_V18,

    Licad4Acad_V19

    LicadPlugInCommonSettings.XMLDirectory in Win 7: C:\ProgramData\LISEGA\

    D:\LICAD V 2010 AutoCAD Plant 3D

    (LICAD4Plant3D)\Licad4Plant3D\db\SQLlite\Lisega3Dcatalog_db.s3db

    SQLite

    LicadPlugInUserSettings.XMLDirectory in Win 7: C:\Users\\AppData\Roaming\LISEGA\Licad4Plant3D_V18

    false

    C:\Users\nm\AppData\Local\Temp\

    en-GB

    C:\Users\nm\AppData\Local\Temp\

    122

    false

    0

    0

    true

    true

    false

    falsefalse

    false

    Loading (Starting) the Plug-insThe command NETLOAD is necessary to load the plug-in.

    On loading, the plug-in supplies the following information (here as an example plug-in for AutoCAD

    2010, 2011 & 2012):

    .NET assembly "\Licad4Acad_V18.dll" loaded

  • 7/27/2019 Licad4Acad - Manual

    7/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 3

    Available Commands: L4A_.LISET, L4A_.LIDB, L4A_.LIPART, L4A_.L3DIMP,

    L4A_.L3DIMP, L4A_.LICAD, L4A_.LICAD1, L4A_.LICAD2, L4A_.LICAD3, L4A_.LICAD4,

    L4A_.LICAD5, L4A_.LICADMOD, L4A_.REG, L4A_.UNREG

    If the protocol function of the plug-in in the configuration file LicadPlugInUserSettings.XML is

    activated, the following information dialog also appears on starting.

  • 7/27/2019 Licad4Acad - Manual

    8/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 4

    Insertion of LISEGA supports

    Two variants are available for placing LISEGA components.

    The first possibility is the interactive process by which LICAD program is directly accessed during the creation ofthe support in the 3D model.

    The second possibility is the import of L3D files created with LICAD. The information contained in the

    L3D file is then transferred to corresponding 3D objects.

    Variant 1:Example of the command LICAD:

    An empty drawing file is used here to draw attention to the essential points. A support is to be placed

    between the two 3D crosses displayed here.

    Configuration 1 is used. This can be carried out by the command LICAD and subsequent request for

    the configuration number or by the command LICAD1, which already has the number in the name.

  • 7/27/2019 Licad4Acad - Manual

    9/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 5

    During the pipe center point input, the positioning of the clamp in the direction X or Y axis can be

    decided on. The specification is the X direction. The configuration can be changed as well

    (Keywords: 1, 2, 3, 4 or 5). Its also possible to define the pipe direction (Horizontal or vertical).

    The current configuration, clamp orientation and pipe direction cant be selected (see following

    image):

  • 7/27/2019 Licad4Acad - Manual

    10/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 6

    After the entry ofY instead of a point the clamp is correspondingly displayed rotated by 90 (see

    the two following illustrations).

    After confirmation of the entry the clamp rotates in the Y axis direction.

    By entering the letter X, and following confirmation, the positioning of the clamps is again carried

    out in the direction of the X axis. Now the pipe center point is determined here on the intercept of

  • 7/27/2019 Licad4Acad - Manual

    11/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 7

    the lines of the lower star.

    After that the upper attachment point of the support to the intercept of the lines of the upper star is

    determined.

    After confirmation of the structural attachment point the LICAD program is automatically started.

    There the relevant data available (the configuration selected in LICAD is No. 13, the elevation

    numbers are entered) are already in the input fields.

  • 7/27/2019 Licad4Acad - Manual

    12/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 8

    The missing data needed by LICAD for the design can now be simply supplemented.

    On completion of all inputs, only the button at the bottom right with the green arrow now has to be

    pressed. LICAD then assembles the components required and supplies the information to the plug-in.

    The plug-in reads this information and generates from it the whole support out of the individual

    components composed from 3D bodies.

    The result of this example looks as follows:

  • 7/27/2019 Licad4Acad - Manual

    13/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 9

  • 7/27/2019 Licad4Acad - Manual

    14/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 10

    Configurations available

    For the commands LICAD, LICAD1, LICAD2, LICAD3, LICAD4, LICAD5 & LICADMODthe following

    configurations are currently available.

    Configuration 1: Configuration 2:

    (Simple suspension for horizontal pipes) (Clamp base / pipe shoe for horizontal pipes)

    Configuration 3: (Clamp base with spring support for horizontal pipes)

  • 7/27/2019 Licad4Acad - Manual

    15/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 11

    Configuration 4 (for horizontal pipes): Configuration 4 (for vertical pipes):

    Configuration 5 (for horizontal pipes): Configuration 5 (for vertical pipes):

  • 7/27/2019 Licad4Acad - Manual

    16/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 12

    Variant 2: Import of L3D filesCommand input:

    1. An open file dialog appears, in which files of the type LISEGAsupport information (*.L3D)can be selected.

    Select a file and press the open button.

    2. The plug-in reads the information from the L3D file and creates from it the 3D model of thesupport.

    Drawing properties for LICAD

  • 7/27/2019 Licad4Acad - Manual

    17/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 13

    Custom properties can be used to set the LICAD project directory. The name of the property must be

    LISEGA_LICAD_PRJ_DIR. The value of that property must define a complete directory

    path like C:\Users\Public\Documents\LISEGA\LICAD 9.0 - Projects.

    Deleting supportsThe normal AutoCAD erase command has been expanded, so that while deleting a support LICAD is

    called in the background to delete the support in its database as well.

    HINT: An UNDO isnt supported by LICAD!

    Commands availableThe group denotations of the commands go as follows L4A_. for the AutoCAD plug-in. This way,

    ambiguities in the commands are avoided. The commands can be used without group denotations if

    only one plug-in (Licad4Acad or Licad4Plant3D) is loaded in each case. If both plug-ins have been

    simultaneously loaded the group denotation must be placed at the front so that the name is

    distinctly clear (e.g.: L4A_.LISET)

    LISETThe settings for the plug-in can hereby be displayed and if necessary altered.

  • 7/27/2019 Licad4Acad - Manual

    18/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 14

  • 7/27/2019 Licad4Acad - Manual

    19/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 15

    LIDBWith this the catalog database file can be selected. This is an SQLite database.

    The file is normally installed under [CommonAppDataFolder]LISEGA\Licad4Acad or.

    Licad4Plant3D\db.

    [CommonAppDataFolder] is a directory prescribed by Windows:

    Windows 7: C:\ProgramData\

    Windows XP: C:\Documents and settings\All Users\Application data\

    LIPARTWith the aid of this command individual components from the LISEGA catalog can be inserted into

    the 3D model.

    LICAD, LICAD1, LICAD2, LICAD3, LICAD4, LICAD5 & LICADMODThese commands always start the LICAD program after requesting the necessary information in

    AutoCAD/Plant 3D. A distinction is only made with regard to the preselection of the configuration.

    L3DIMP bzw. -L3DIMPThese two commands import LISEGA supports available in the shape of L3D files.

    The command L3DIMP opens an open file dialog. The -L3DIMP command is the command line

    variant of the command L3DIMP and queries the file name in the command line.

    It is necessary that a support is created, stored and exported beforehand as an L3D file with the

    LICAD program. (See attachment - LICAD creation of a support, export of a stored support as L3D file)

  • 7/27/2019 Licad4Acad - Manual

    20/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 16

    REGWith this command you register the plug-in for the so-called OnDemand Loading in AutoCAD. It is

    no longer necessary to load the plug-in manually first via the netload command; simply put in a

    command from the plug-in. AutoCAD then automatically loads the plug-in if it has not yet been

    loaded. This way, the commands are directly available, like normal AutoCAD commands.

    UNREGThis command again deletes the registration for OnDemand Loading(see command REG).

  • 7/27/2019 Licad4Acad - Manual

    21/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 17

    Attachment

    LICAD Creation of a support

    Start the LICAD program via the link

    Click on the Statics button.

    Enter the values into the entry fields.

  • 7/27/2019 Licad4Acad - Manual

    22/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 18

    Click on the button.

    Select a configuration, either with the navigation buttons or by entering desired configuration

    number.

  • 7/27/2019 Licad4Acad - Manual

    23/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 19

    After that, click on one of the Differences or Notation buttons to define the spacing for the

    support.

    Please enter this information in the entry fields shown and select, if required, further options on the

    right-hand side. Click once again on the button.

  • 7/27/2019 Licad4Acad - Manual

    24/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 20

    After that the result appears:

    Save the design with the button.

  • 7/27/2019 Licad4Acad - Manual

    25/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 21

    LICAD Export of a support as an L3D fileYou can export a number of supports at once. You must be in the main window of LICAD.

    Open the file menu.

  • 7/27/2019 Licad4Acad - Manual

    26/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 22

    And there select the entry Create L3D file.

    Select, in the left-hand list of the saved supports, the ones you wish to export and then click on the

    button to place these in the list of the supports to be exported in the middle of the window.

    Select the output directory in the right-hand area and then click on the button.

    The export starts and the following info dialog appears.

    The following message appears at the end of the export:

  • 7/27/2019 Licad4Acad - Manual

    27/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 23

    AutoCAD menu extension, tool box and ribbon for plug-in

    Start the adaptation with the command _cuiload or the corresponding menu command.

    The dialog for loading or removal of adaptation files appears.

  • 7/27/2019 Licad4Acad - Manual

    28/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 24

    Click on the Browse button. The dialog Select adaptation files appears.

    Please change to the directory containing the file LICAD4plant3D.cuix. Select this file and click on

    the Open button.

    After that, you must still click on the previous dialog Load.

  • 7/27/2019 Licad4Acad - Manual

    29/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 25

    The file is loaded and displayed in the list of loaded adaptation files.

    Now the following toolbox,

    register card LICAD for Plant 3D

    and the menu LICADfor Plant 3D are available.

  • 7/27/2019 Licad4Acad - Manual

    30/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 26

    AutoCAD tool palette for the plug-in

    Add tool palette

    Enter the command customize.

    Via the user screen this can also be achieved. This approach is adopted here:

    Access the context menu of the toolbox palettes (click on the right-hand mouse button on a toolbox

    palette).

    Make the menu entry Adapt palettes (click on the left-hand mouse button).

    After that, this adaptation dialog appears:

  • 7/27/2019 Licad4Acad - Manual

    31/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 27

    There you once again access the context menu of the palette list (click on the right-hand button in

    the palette list)

    Carry out the command Import (click on the entry with the left-hand mouse button).

  • 7/27/2019 Licad4Acad - Manual

    32/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 28

    The dialog Import palette is displayed.

    Switch there to the directory with the adaptation files and select the file LICADfor Plant 3D.xtp.

    Click on the Close button.

  • 7/27/2019 Licad4Acad - Manual

    33/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 29

    The palette is automatically added:

  • 7/27/2019 Licad4Acad - Manual

    34/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 30

    Use of the plug-in in the network

    NOTE: If the plug-in can be loaded without any problem via the netload command and can be

    used after that, you do not need to carry out the steps described here!

    It may be necessary to adjust system settings if the plug-in files are stored on a network drive. This

    variant is frequently used if several computers are to use the plug-in but the plug-in is not to be

    installed on every computer.

    The reason why settings may have to be adapted is that the Microsoft .NET framework, as a matter

    of course, initially regards all programs and assemblies (DLLs) from a network drive as potentially

    dangerous and therefore obstructs their execution.

    NOTE: If the netload command is ended without any message after selection of the plug-in in

    Auto CAD and the plug-in files are located on a network drive, the safety mechanism of the

    .NET framework has tripped!

    This problem also arises if the files of your own computer are addressed via a network share!

    Adaptation of the local intranet zoneThe security settings can be altered with the command CasPol.exe of the .NET framework. The

    plug-ins require the highest security clearance so that the program modules can all be executed

    without error.

    The following command grants security clearance for all files in the specified network drive

    CasPol.exe -pp off -m -ag 1.2 -url \\\\* FullTrust

    is to be replaced by the correct computer name

    is to be replaced by the clearance name and if necessary by the

    directory name

    Command options:

    -pp off: No confirmation query

    -m Refers to the computer security settings

    -ag 1.2 Add security group under Local intranet zone

    -url\\Server1\AutoCAD-AddOns\Licad4Acad\* These (* = all) files are to be given

    permission.

    FullTrust The security clearance to be granted (FullTrust is the highest level)

    The program CasPol.exe is located in the bin directory of the respective .NET framework.

    There are up to four variants of the .NET framework.

    For the 32 bit versions the directories are named:

    .NET framework 2.0 (up to 3.5): c:\Windows\Microsoft.NET\Framework\v2.0.50727\

    http://server1/AutoCAD-AddOns/Licad4Acad/*http://server1/AutoCAD-AddOns/Licad4Acad/*http://server1/AutoCAD-AddOns/Licad4Acad/*http://server1/AutoCAD-AddOns/Licad4Acad/*
  • 7/27/2019 Licad4Acad - Manual

    35/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 31

    .NET framework 4.0: c:\Windows\Microsoft.NET\Framework\v4.0.30319\

    For the 64 bit versions the directories are:

    .NET-Framework 2.0 (bis 3.5): c:\Windows\Microsoft.NET\Framework64\v2.0.50727\

    .NET-Framework 4.0: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\

    NOTE:

    AutoCAD 2006 to 2012 uses the .NET framework 2.0

    From 2013 AutoCAD uses the .NET framework 4.0

    Depending on the version used and whether the 32 or 64 bit variant of AutoCAD is used, the

    respective CasPol version must be used, as these settings ALWAYS apply ONLY for the

    respective .NET framework!

    NOTE:

    If the netload command, as already mentioned above, still ends without a message, the

    computer on which the plug-in is to be used is, in all probability, not in the local intranet

    zone.

    In this case follow the instructions in the next section Alter zone allocation .

    Altering zone allocationThe .NET framework has different security settings for the various network zones. Windows itself

    always allocates a zone to a computer. This happens automatically in the standard setting.

    Unfortunately, under certain circumstances in this automatic allocation it can come to incorrect

    allocations, so that a computer in the company network is not allocated to the local intranet zone,

    but to the internet zone (which of course has far fewer rights).

    In the previous section it was described how the security settings can be adapted for the local

    intranet zones.If your own computer is, however, not in the local intranet zone due to incorrect

    allocation, but in the internet zone, the alterations made have no effect, since they are restricted to

    the local intranet zone.

    It is still necessary to adapt the Windows internet options in the system control .

    Start the Windows system control and open the internet options. The following dialog window is

    displayed:

  • 7/27/2019 Licad4Acad - Manual

    36/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 32

    Please click there on the tab Security.

  • 7/27/2019 Licad4Acad - Manual

    37/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 33

    After that click on the symbol for the local intranet zone and then on the Sites button.

    The following settings dialog is displayed:

    Deactivate the setting Define intranet automatically

    and activate the other three options:

    - Include all local sites (Intranet) not listed in other zones- Include all sites bypassing the proxy server- Include all network paths (UNCs)

  • 7/27/2019 Licad4Acad - Manual

    38/40

    LICAD for AutoCAD V 9.3.0

    LISEGA SE 19.02.2013 34

    Simply click on the OK button to accept the settings.

    You return to the previous window:

    Here too, click on the OK button.

    The system control can now be closed.

  • 7/27/2019 Licad4Acad - Manual

    39/40

    LICAD for AutoCAD

    LISEGA SE 19.02.2013 35

    Index_cuiload 23

    _customize 26local intranet zone 31

    2006 1, 31

    2007 1

    2008 1

    2009 1

    2010 1, 2

    2011 1, 2

    2012 1, 2, 31

    2013 1, 31

    32Bit 30

    64Bit 31AutoCAD 1, 2, 13, 15, 16, 23, 26, 30, 31

    CasPol.exe 30

    configuration 7, 10, 11, 15, 18

    Configuration 2, 4

    individual components 15

    internet zone 31

    L3D file 21

    L3D files 4

    L3DIMP 3, 15

    -L3DIMP Siehe L3DIMP

    L4A_ 13

    LICAD i, 1, 2, 3, 4, 7, 8, 10, 15, 17, 21, 25, 28LICADMOD 15

    LicadPlugInCommonSettings.XML 2

    LicadPlugInUserSettings.XML 2, 3

    LIDB 3, 15

    LIPART 3, 15

    LISEGA 1, 2, 4, 12, 15

    LISET 3, 13

    local intranet zone 30

    menu extension 23

    NETLOAD 2

    network 30REG 3, 16

    ribbon 23

    system control 31, 34

    system control 31

    System requirements 1

    tool box 23

    tool palette 26

    UNREG 3, 16

    zone 31

  • 7/27/2019 Licad4Acad - Manual

    40/40