Jay

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • in reply to: Delete SimComponent #12990
    Jay
    Jay
    Moderator

    There is ISimWorld.DeleteComponent(ISimComponent component) method.

    Jay
    Jay
    Moderator

    Well, PartsAverageCount is a property of vcStatistics. You can add the property to display on the statistics label if you have a VC Professional license. See application help document for additional info.

    Jay
    Jay
    Moderator

    This is the description of getSimWorldToRootNode() on the help document: Returns the offset from 3D world origin to root node. Tested and it seems to do the work. See image below.

    in reply to: how to Add a Tab #11597
    Jay
    Jay
    Moderator

    Take a look at this thread. It might help

    Adding ribbon tabs and groups

     

    in reply to: Custom statements #10697
    Jay
    Jay
    Moderator

    Hi,

    Below is the basic implementation of custom statements. I stopped writing the code after I realized a major issue with this approach. The custom statement plugin will only work on application with the custom statement dll in the application folder. That means if you program a robot and then send the layout to someone, that person will not be able to open the layout with the robot program intact unless they have your custom statement dll in their application folder.

    A better approach is to create a process statement on python API and then attach it to a process handler script and then write your logic in the script.

    Anyway here is the basic implementation of ICustomStatement.

     

     

     

     

    in reply to: Interpolate Joint in C# #8084
    Jay
    Jay
    Moderator

    Hope the above code helped.

    in reply to: Property validation #6719
    Jay
    Jay
    Moderator

    I hope this is not coming too late. When you create a property without setting a name, the property name is always unique. For example.

    The api does the unique name validation for you.

    Jay
    Jay
    Moderator

    Well, I think it makes sense that the jog command is only available on the teach context cause the command is only available on that context. That’ the way the application was designed. It seems, what you are asking is a way to circumvent that design and I’m wondering why.

    in reply to: Adding ribbon tabs and groups #5308
    Jay
    Jay
    Moderator

    Add a reference to UX.Ribbon dll. VisualComponents.UX.Ribbon namespace is available on that dll.

    in reply to: Bug with "Save as" and "Import" buttons. #4879
    Jay
    Jay
    Moderator

    It is very unusual that the import “Geometry” and “Save As” buttons are not responding to mouse clicks. Note that the “Save As” is disabled if their is no component in 3D world. Check the application logs for errors. For example C:\Users\%username%\AppData\Local\Visual Components\Visual Components Premium 4.0\Logs. It could be that their is an issue with the system’ .NET framework.

    Also try reinstalling the application.

    in reply to: Can't add Beckhoff ADS server #4673
    Jay
    Jay
    Moderator

    There might be a workaround for the specific dll version requirement.

    Find VisualComponents.Engine.exe.config from your VC installation folder and add this to inside the assemblyBinding element near the top of the file:

    <dependentAssembly>

    <assemblyIdentity name=”TwinCAT.Ads” publicKeyToken=”180016cd49e5e8c3″ culture=”neutral” />

    <bindingRedirect oldVersion=”4.1.22.0″ newVersion=”4.1.16.0″ />

    </dependentAssembly>

    This will instruct the CLR to search for version 4.1.16.0 of the TwinCAT.Ads.dll instead of the version 4.1.22.0 our software is built against. You may try targeting other versions of the TwinCAT.Ads.dll available on your GAC as well.

    However, if there are functional differences between the dll versions you may get unexpected behavior.

    in reply to: Text Editor Tool #4150
    Jay
    Jay
    Moderator

    Here is a demo project.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Application crash on run #3594
    Jay
    Jay
    Moderator

    This is a .NET runtime error. Suggested solutions from Microsoft community forum ranges from performing an SFC scan to doing a clean install of the OS.  Here is the link to Microsoft forum

    https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/kernelbasedll-version-100105860-and-net-runtime/e1b5a9e8-a377-4de7-9a1a-df0bd205a963

     

    in reply to: How to create extended custom "Context" #3188
    Jay
    Jay
    Moderator
    in reply to: Which IoC is used? #2845
    Jay
    Jay
    Moderator

    The answer is no, Caliburn.Micro is not configured to use Castle.Core.

Viewing 15 posts - 1 through 15 (of 23 total)