21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

getparts<br />

Purpose<br />

getparts<br />

Extract parts from an assembly object.<br />

Syntax [gl, ...] = getparts(g, ...)<br />

Description<br />

[gl, ...] = getparts(g, ...) returns a cell array where each element contains<br />

a part.<br />

The function supports the following properties:<br />

TABLE 1-70: VALID PROPERTY/VALUE PAIRS<br />

PROPERTY<br />

NAME<br />

PROPERTY VALUE DEFAULT DESCRIPTION<br />

Out cell array of strings {} Cell array of strings: stx, ftx,<br />

ctx, ptx<br />

Part all | none |<br />

vector of integers<br />

all<br />

Specifies which parts to extract<br />

Example g = geomgroup({rect2 move(rect2,[1 0])});<br />

[gg,stx,ctx,ptx] = getparts(g,'out',{'stx','ctx','ptx'});<br />

See Also<br />

geomgroup, geomcsg<br />

241

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!