Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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
Joined
Feb 1, 2020
Messages
100
Location
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.
 
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