Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

how to select a surface in assembly?(vb)

cloud

New member
hello everyone


i am new to vb api,pls help me with the problem.


i alreadyhave a aseembly asm1 wiht part1,now i want process part2,


first i need to select the right surface of the part1 within asm1,


my code


dim assembly as Ipfcassembly


assembly=session CurrentModel()


dim asmitem_ow as IpfcModelItemOwner


asmitem_ow=assembly


dim asmitem as IpfcModelItem


asmitem=asmitem_ower.GetItembyname(EpfcModelItemType.EpfcITE M_SURFACE,"part1:right")





do i write the name of the surface right?
 

Sponsor

Articles From 3DCAD World

Back
Top