What's new

script

  1. GIOV

    Traditional Cursor with Script.

    Hi Friends, I have old school Alibre so if someone is able to come up with the script to allow the cursor to be the traditional one it would be excellent! GIOV
  2. K

    The Alibre Value is not available

    Hello all, Dealing with an issue when trying to save to my M-File Vault through a SaveAs function. Here's the error: <CODE> Traceback (most recent call last): File "<string>", line 124, in <module> EnvironmentError: System.Runtime.InteropServices.COMException (0x80040328): The Alibre Vault is...
  3. K

    Are Measurements for a Part Stored in a separate File?

    Hello all, I'm trying to create a script in Alibre that uses the surface area of a face in a sheet metal part. I wanted to know if that value is stored anywhere in some sort of log file, or if there's a documented way to use Alibre Script to retrieve and store that information? Thank you.
  4. E

    saving/modifying a drawing

    Hi all, Is there a way to either save a drawing or modify an existing one using a script? I have to create lots of flanges and I need a way to save the part as a drawing an get/display as a note the dimensions. Can this be done using a script? .... .... Options = [] Options.append(["Work...
  5. Suppakit

    Using Python to make my first "Alibre Motion"

    Alibre Sample Motion Hello everyone, I just make my dream come true for done Alibre motion by using Alibre script, but this is just the beginning, I have a plan to make API for my customers who don't like to learn Python, anyway I need more suggestion for how to manipulate 6 Axis robot motion is...
  6. A

    Run Script From Batch

    Hello, I am trying to figure out if there is a way to execute an script in Alibre from batch. What I would like to do is be able to launch Alibre with a particular part (or assembly), then run a script that will update the global parameters and export a neutral CAD file. I have figured out...
  7. V

    Lofted path with guide curves generates s-shape

    I created 4 guide curves and 2 profiles to generate a loft, the result is correct at the guide curves but creates a S-shape in between. The different options in the loft feature have no effect. Is there a way to get the result shown in green? PS: I started with a sweep which did not give the...
  8. V

    How to create SweepBoss

    Hello, In this example: https://support.alibre.com/support/solutions/articles/27000049682-profile-and-sweep-path a profile and path is created, but how do I sweep add a sweep feature in the script? (Already found the solution) Solution add line...
  9. Cator

    Wooden_Box_Generator

    Hi everyone, after three months of working with Alibre at a hobby level and just over a month of initiation into the Python language, I am happy to share with you one of the jobs that I was able to do as a beginner. I await your advice to improve and ask: a) Is it possible to customize the...
  10. V

    Auto Generate 2D Drawings From SQL Data

    I would like to see if anyone here had tried to automate drawing generation using Script with almost all relevant data coming from SQL Server. I would probably have 5-10 master 3D assemblies that I could use Script to gather data from SQL, adjust/suppress parts or subassemblies, adjust features...
  11. Cator

    Sketch Rectangle whith script

    Hello everybody, I want to create a rectangle, which I will then use to extrude material on the face at the ZX plane using the script, as in the "Laterale" Part. Can anyone help me please complete the script I made to do this part to add the extrusion? Thanks to all of you!
  12. Brandon_Velmex

    Editing a Part in an Assembly

    Hello everyone, I'm trying to change the length of a part in my assembly. I would like to steer clear of configurations, because I need the part to be able to be any length. Currently I have the length linked to a global parameter, which I am able to change in a script, but the length will not...
  13. Brandon_Velmex

    Script Language for Selecting and Editing Configurations

    I am trying to write a script which will build a proper assembly out of existing configurations once the menus are all complete. However, all the existing tutorials are based around building a new configuration, or a new assembly. My question is: what are the specific Python script commands for...
  14. idslk

    Script Pre Release: Assign_Material_to_Assembly_Parts_015a

    Hello colleagues, i've updated the script from THIS_TREAD to run with V22 and the new material definition... The density display has to be tested with other language installations, which can't be done by me... Comments are welcome...specially due to first script for V22;) And as ever: Use the...
  15. albie0803

    Script to apply ISO 18388 (DIN509) Undercuts in Shafts 2020-10-13

    This script will create ISO 18388(DIN509) Undercuts on a shaft. It assumes that the shaft is built on the X-Axis.
  16. GIOV

    Wizotool 4.10 2020-08-03

    Tool for do script with 32 bits Laptop
  17. idslk

    Script Release: Update Table_to_3DPoints_forum_V03

    Edit: Update to V03: # V03 does no longer create copies of points, instead it changes their coordinate values # the ee-parameter get the name of the point and an extension for the axis # table cells now can also contain formulas Hello colleagues, if you have a table like that: and you want...
  18. idslk

    Script prerelease - CoG-Point Update V03

    Edit: Update to V03 renames the original point names in EE and adds a date to the CoG point to show when it was created Hello colleagues, this script uses the physical properties to generate 3 variables in the Equation Editor and an 3D-point in the design to represent the center of gravity for...
  19. J

    OptionsDialog to select a feature

    I would like to use an OptionsDialog window to allow the user to select a specific part feature. However I don't see a feature option in the WindowsInputTypes enum. Doing some digging, I found a Features property of the Part class which is of type list, but it is empty in my part. I can access...
  20. otrotabi

    OpenFileDialog - Open existing part script

    I want to share with you a little script that uses the OpenFileDialog Function of the Windows class. # open existing part script import os Win = Windows() # show open dialog window, if user clicks on OK then a path and filename will be returned FileName = Win.OpenFileDialog('Select a part...
Top