Why doesn’t TRIRIGA CAD Integrator complete the Sync Full process?

We’re unable to perform a Sync Full of CAD drawings if there are any people assigned to the spaces. Here’s the ci.log error:

ERROR [com.tririga.ci.sync.SyncServiceImpl](pool-1-thread-2) Sync failed.
com.tririga.ci.error.CiRuntimeException: com.tririga.ci.remote.shared.error.CiSharedException: Attach associated object could not find the association to use.

The CAD hierarchy for the custom configuration is not mapped correctly for triSubSpace. Custom business objects and forms were created for all property hierarchy items. But the existing triSubSpace CAD hierarchy node for triSubSpace was not changed. It still references “Space Mapping”, instead of “cstSpace Mapping”. This means both space mappings are part of the application definition (which have different forms). This was causing the Sync Full to fail. Updating the triSubSpace hierarchy node to point to the cstSpaceMapping will resolve this error.

[Admin: This post is related to the 09.12.16 post about a Sync failure in CI, and the 08.05.16 post about a Sync Full error in CI.]

[Admin: As a side note, with the 3.5.1 introduction of object labels and revisions, you’re not required in 3.5.1 or later to use the classic “cst” naming convention any more. For reference, here are the new naming convention best practices.]

Continue reading

Is there a way to see the ci.log error when CI Smart Attach fails?

Is there a way to see the error generated when the CAD Integrator shows the following message? “The Smart Attach process failed. Please contact IBM Support.”

I’m getting this error after I verified there are no errors when I get to the point to attach the CAD drawing via AutoCAD. However, I’m getting this vague error. I modified the log4j file in the config directory to “DEBUG” mode. However, there are no logs generating in my laptop. Is this where the log file should have generated?

C:\ProgramData\IBM\TRIRIGA\CAD Integrator\log\ci.log

Okay, I was able to locate the “ci.log” file in my Windows folder. I had to set the Folder Options in Windows to show hidden folders because the “ProgramData” folder is a default hidden directory. However, after opening the “ci.log” file, the errors in the log is not organized in a way that can easily be debugged. There’s no error code to reference to research either via IBM or AutoCAD support portal…

Continue reading

IV93274: Spaces can be attached to property or building not to floor

In TRIRIGA CAD Integrator, the Smart Attach allows a user to attach spaces directly to a property or building, instead of a floor, which causes orphan spaces. This occurs if you first try to upload to the property or building, and get a failure message. Then return to Smart Attach and try again.

Continue reading

IV92514: Cannot perform Sync Full command in CI for MicroStation

After upgrading from CAD Integrator (CI) 12.1.1 to 12.1.4 for MicroStation, we cannot do a Sync Full command successfully, if there are more than 14 people assigned to any space. We get kicked out of MicroStation, or we get a message indicating that MicroStation stopped working and are forced to close the program.

The issue happens when there is a very long label applied. For example, the “People” label style appends every person to the label string. If the string is “too long”, i.e. more than 256 characters, it overflows the char buffer on the heap, causing stack corruption, usually causing MicroStation to crash immediately.

Continue reading

Where is the latest AutoCAD Command Line API for 12.1.5?

With the release of CAD Integrator-Publisher (CI) 12.1.5 included with TRIRIGA 3.5.2, we added some additional API commands to enhance reporting capabilities. The new commands have been reflected in the TRIRIGA wiki.

Command Specifications (12.1.5.x and later)

  • CiApplyTheme
  • CiQueryThemes
  • CiApplyReport
  • CiQueryReports
  • CiApplyLabelStyle
  • CiQueryLabelStyles
  • CiApplyLabelFilter
  • CiQueryLabelFilters

[Admin: This post is related to the 12.12.16 post and 10.30.15 post about TRIRIGA CI AutoCAD commands and equivalent AutoLISP commands.]

Continue reading