Jay

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • in reply to: How to get joint values #15444
    Jay
    Jay
    Moderator

    Hi,

    I tested with the following snippet and I was able to read the robot controller’ implement values as well as the imported external values.

     

    in reply to: How to use the wizard menu to create compoent #15438
    Jay
    Jay
    Moderator

    These videos on our Academy site could help. I would recommend watching the entire videos.

    See item 6 from the table of content.

    http://academy.visualcomponents.com/lessons/model-a-gripper-part-1/

    http://academy.visualcomponents.com/lessons/model-a-gripper-part-2/

    See item 40 on the table of content.

    http://academy.visualcomponents.com/lessons/model-a-workpiece-positioner/

    And one last thing. Please remember to create threads under relevant topics. You created a thread under .NET Addon Programming and your question has nothing to do with .NET but component modeling.

    in reply to: NumericTextEditorTool Ribbon ActionItem #15434
    Jay
    Jay
    Moderator

    Check out the example project on this thread. It might help.

    Text Editor Tool

     

    in reply to: ecatalog with kukasim 3.0 #13987
    Jay
    Jay
    Moderator

    Please contact KUKA support for questions relating to KUKA products.

    in reply to: Component transformation rotation #13881
    Jay
    Jay
    Moderator

    You can set the orientation of the component’ matrix in world using specified yaw, pitch and roll vector values.

    Vector3 vec = new Vector3(90, 30, 20);
    _app.World.Components.Last().TransformationInWorld.SetWPR(vec);

    and you can get the matrix orientation as follows

    vec.X = _app.World.Components.Last().TransformationInWorld.GetWPR().X;
    vec.Y = _app.World.Components.Last().TransformationInWorld.GetWPR().Y;
    vec.Z = _app.World.Components.Last().TransformationInWorld.GetWPR().Z;

    Hope that helps.

    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.

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