Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

3DExperience part creation macro

Status
Not open for further replies.

Azzazil

Automotive
Feb 1, 2020
95
HR
How I can create 3DPart inside of 3DX Macro?

I tried with this

Code:
Sub Create()
Dim oPLMNewService as PLMNewService
Set oPLMNewService = CATIA.GetSessionService("PLMNewService")

Dim oEditor As Editor
oPLMNewService.PLMCreate "[b]3DPart[/b]", oEditor

Dim oPart As Part
Set oPart = oEditor.ActiveObject

End Sub

If I change 3DPart to 3DShape it runs without a problem but, with 3DPart I am getting only Error message "Operation not authorized". Also I am aware that I am getting 3DShape representation but here I want to create 3DPart.
 
Replies continue below

Recommended for you

I find out that there is not possible in 3Dx create 3DPart as PLMEntity only 3DShape, it looks that for creating 3DPart is needed to activate more advanced licence.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top