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…
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…
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…
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…
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…
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…
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…
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.
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…
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…
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…
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?
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, …
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…
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…
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…
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…
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…