hexagon logo

Browse By Tags

  • Is there a way to tell when CMM crashes

    Is there an event or something that I can catch when the CMM crashes?
  • How to access PC-DMIS Arrays using the Basic Script Editor?

    HI everyone, First post here so please forgive any lack of clarity in the question. I'm trying to pass the hit array from a scan to the Basic Script editor in order to write the measured data to a comma delimited file for further investigation on…
  • Finding all GeoTol Profile of a Surface with no datums (part 2)

    Ok, I'm going to do my best to describe my problem. (Apologies for my most recent question of the same name, I essentially gave no specifics.) History: Roughly a year ago, we started using a different software package to track our inspections. Because…
  • (SimAcademy Webinar) Automating from CAD to Mesh

    Watch our SimAcademy webinar on creating automation with scFLOW presented by Delmas Laurent. In this webinar you will learn how to: Generate and import CAD from external CAD software (MSC Apex) Organise your script into module and function The…
  • What controls connector order in model tree?

    I've tried renaming and renumbering the connector ID's. Still, Apex orders the connectors however it wants. Seems to be tied to an internal number that isn't obvious or accessible to me. It's odd now though that, in the attached image, the…
  • Hello everyone, I am trying a non-linear transient analysis for my thesis project. I have tried different setups for my model but it does not work.

    My task is to compare my model with the test data. I have 6 plates whose dof I can control by using general constraint. In these 6 plates for now 5 are completely constrained. One of them is constrained only in (Z, Rx, Ry, Rz), so the plate is free to…
  • Is there a way to catch errors in a view macro?

    I'm trying to achieve something similar to try/catch in c++ or try/except in python.
  • Scripts for model auto-generation

    Hi Folks, Here is part of my script for auto-generation of force in a model. 1- variable create variable_name=n integer_value=1 2- while condition=(n < (eval(total_roller_number+1))) 3- force create direct general_force & 4…
  • How to find all 2D circles in 3D solid geometry?

    Hello! I would like to write a script which does following task: 1. Takes a solid from the active part 2. finds all 2D circles in the solid or edges which make circle 3. fills those circles 4. create a node in the center…
  • I would like to prepare a customisation from a database of STEP files. How I can do?

    I would like to prepare a customisation from a database of STEP files. How I can do?
  • How to delete atire wheel/road using cmd-script

    Is there a possibility to delete atire wheel_tire/road elements unsing CMD-script? I can only find the comands to create and modifiy atire objects but no comand to delete those objects.
  • Why does scripted simulation run in ADAMS/View but get interrupted in ADAMS/Solver?

    Hi, I created a simulation script (ADAMS/Solver C++). The script contains 3 simualte commands: sim/ini sim/st sim/dyn The script runs fine in ADAMS/View. However, when I export the same model as .adm and create an .acf that…
  • What is a robust way to apply initial conditions (displacement and velocity) to a model with flexible bodies?

    Hello, I want to apply initial conditions to a model containing flexible bodies. Doing this, I face the issue of massive deflections of the flexible bodies during initialisation. My guess for explaination is: It seems that the…
  • MSC Apex Scripting Workshop

    Will an Apex Scripting Workshop be held in the US soon? Online/webinar? TX?
  • Problem with python code in macro called from Adams/Car 2018

    Hello, I am trying to run python code from the macro in the Adams/Car 2018. The python code is following: !--- Run PYTHON code variable set variable_name=$_self.intTmp integer_value=(eval(run_python_code("import glob…
  • How to disable warning messages when running a cmd script

    I'm running a model merge cmd script and during the execution I receive a Warning pop-up explaining that the two ground parts do not have the same material types and asks if I want to continue. How do I disable this dialog to continue processing without…
  • How do I conditionally deactivate a bushing during a solution run. I want to deactivate the bushing when the internal force on that bushing reaches a maximum?

    How do I conditionally deactivate a bushing during a solution run. I want to deactivate the bushing when the internal force on that bushing reaches a maximum?
  • Is the fastener automation script demonstrated in recent webinars available to us?

    Not only would it be useful to me by itself, but also in helping me ramp up with Apex scripting. Thanks!
  • Example code for graphic view manipulation

    Hello, Can anybody provide any example code for graphic view manipulation? For example, Switch the view direction to Top, Right and Isometric Toggle grid view Toggle graphic items such as probe Thank you in advance. Best Regards, …
  • Automatic Ballooning iteration script

    Hi, We allmost allways put balloonings on our drawings, but often have the same dimension 2.3.4.... times as evaluation in our report. To be able to separate these measurements from one another for Qdas and better overview for our clients, we iterate…
  • VBA Scripting, Get Active Tips / Tip Angle, Measurement Strategy per DIM

    Hello, I am running 2021.1. I would like to access the properties of each inspection feature programmatically. Specifically, for a given feature, I would like to know what active tip was used, what tip angle (A#B#) was used, and what measurement…
  • Partprograms.open scripting error

    Ok so I have stolen some code from here on using a script to open a program and run it, then closes the program. It runs and works perfectly... UNTIL I try to make the filepath variable, such as ("C:\Users\Public\Desktop" + strID ) so that I can use a…
  • TRACEFIELD Scripting Modification

    http://www.pcdmisforum.com/showthread.php?27544-Tracefields-and-Scripts&highlight=tracefield+script Long time lurker and PC-DMIS user, first time posting - and going to get deep here... Did some searching, and the most similar topic to what I've…
  • Form editor: changing image properties with variables

    So I'm pretty new to the VB language and even newer to the PC-DMIS form editor. I don't usually have problems with variables in Visual Studio, but with the Form Editor I can't seem to get past the simple declaration of a variable. (For instance, Dim…
  • PC-DMIS 2012 MR1 & Scripting

    Is VB scripting the only form of code to use for pc-dmis 2012 mr1?